|
iDevelopment.info | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--info.idevelopment.utils.InfoString
Primarily used to return the length or substring of a given String object. This class also implements many of the conventions used in the "Java Coding and Documenting Conventions" guide within the DBA Documentation Library.
For more information on the different features of Javadoc, visit Javadoc Tool Home Page
Constructor Summary | |
InfoString(java.lang.String s)
Sole constructor. |
Method Summary | |
int |
getLength()
Gets the current length of the object string. |
java.lang.String |
getOriginalString()
Gets the original String used when object was created. |
java.lang.String |
getSubstring(int offset)
Used to return a portion of the stored string object starting at the offset and continue to the end. |
java.lang.String |
getSubstring(int offset,
int length)
Used to return a portion of the stored string object using an offset and particular length. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InfoString(java.lang.String s)
s
- The String to be stored and worked on by this class.Method Detail |
public java.lang.String getOriginalString()
public int getLength()
public java.lang.String getSubstring(int offset, int length)
offset
- Position in the original stored string to start from.length
- Length of the original stored string object to return.
public java.lang.String getSubstring(int offset)
offset
- Position in the original stored string to start from.
|
iDevelopment.info | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |