This documentation is part of the Link Checker Library project.

de.tw.website.linkchecker.util
Class StringResource

java.lang.Object
  |
  +--de.tw.website.linkchecker.util.StringResource

public class StringResource
extends java.lang.Object

Saves memory string by using one string object for same string values.


Constructor Summary
StringResource()
           
 
Method Summary
static java.lang.String getString(java.lang.String str)
          Returns the same string but not neccessarily the same object thus saving space when using the same strings multiple times.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringResource

public StringResource()
Method Detail

getString

public static java.lang.String getString(java.lang.String str)
Returns the same string but not neccessarily the same object thus saving space when using the same strings multiple times.

This documentation is part of the Link Checker Library project.