Static Public Methods | |
| String | anglosize (String original) throws Exception |
| String | fileToString (String path) throws IOException |
| String | streamToString (InputStream in) throws IOException |
| String | appendPadding (String destination, int desiredLength) throws Exception |
| String | appendPadding (String destination, String padChar, int desiredLength) throws Exception |
|
|
Take any string and returning in US-ASCII encoding. Note that any characters that are not US-ASCII are replaced by "?". This is really not usefull, except as a stop-gap where, say, you have French words like This has bandaid written all over it. Definition at line 45 of file StringTool.java. |
|
||||||||||||||||
|
Definition at line 88 of file StringTool.java. |
|
||||||||||||
|
Definition at line 81 of file StringTool.java. |
|
|
Reads the contents of the specified file (absolute or relative path) and returns a string. Definition at line 55 of file StringTool.java. References sosc::StringTool::streamToString(). |
|
|
Returns the contents of the inputstream as a string. Definition at line 70 of file StringTool.java. Referenced by sosc::StringTool::fileToString(). |
1.2.15