|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.text.Stringer
public class Stringer
This string class works this way: extra spaces are reduced, maximum length of the string cannot be exceeded, string has different weights for its substrings (w/o overlapping).
Constructor Summary | |
---|---|
Stringer()
Constructor for the Stringer object |
|
Stringer(int maxlen)
Constructor for the Stringer object |
Method Summary | |
---|---|
void |
append(char c)
Description of the Method |
Anchor |
createAnchor(int fromHandle,
java.net.URI uri)
|
int |
handle()
|
java.lang.String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Stringer()
public Stringer(int maxlen)
maxlen
- Description of the ParameterMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int handle()
public Anchor createAnchor(int fromHandle, java.net.URI uri)
public void append(char c)
c
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |