Bookmark Topic Watch Topic
  • New Topic

How do you pass the value of a String to a different String located in a different class?  RSS feed

 
Papi Escobar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have a program that parses an XML document. After parsing the data it compares the data and writes the data to a HTML table. I would like to write the value of the [String fullname=artifact +"-" +version;] to my HTML Table. The code which writes data to the table is located in the class HtmlDataTable [String lines="<tr> <td>"+ fullname + "</td> <td>"+ jarfilename + " </td> <td>"+ jarfilename + "</td> </tr>";] I would like to create a method which passes the value of the String fullname to the String lines which writes the data to the table. The code for both classes is located below. There are other classes within the program that are not listed. I've only included the classes that I felt are relevant to the issue. If you feel theres a need for me to include the additional code please just ask.




 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question in more than one forum.

Let's continue in the other copy of your question.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!