Data Mining Strings
<p>I have a Java class Text.java which just contains a severly long string (it's text from a website but stored in u006e values and such) I am creating a data mining class and was just wondering how to reference the string so that I can test things like the length and count refrences to numbers and stuff like that? the actual class is Text.java and the actual code is:</p>

<pre><code>public class Text
{
/**
 * A very long String, containing text from a web site.
 */
public static final String TEXT;

static
{
TEXT = //this is where the extremely long string is composed of u006c/u006e and so on
</code></pre>

<p>I have tried </p>

<pre><code>text.length()
Text.length()
TEXT.length()
</code></pre>

<p>I am fairly new to Java so I might not be going about it correctly but here is just the start of my datamining class</p>

<pre><code>public class DataMiner 
{
    /**
     * Main Method, or main point of entry in the Java application.
     * 
     * @param args not used
     */
    public static void main(String[] args)
    {        
        System.out.printf("The total length of input lines are: ", Text.length());
    }
}
</code></pre>

<p>Here I was just looking to tell me how ling the lines of input are within the other Text.java class.</p>