removed apache commons dependency
This commit is contained in:
parent
853e3e10d6
commit
89ef900b7c
3 changed files with 29 additions and 10 deletions
24
brouter-util/src/main/java/btools/util/StringUtils.java
Normal file
24
brouter-util/src/main/java/btools/util/StringUtils.java
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
package btools.util;
|
||||
|
||||
/**
|
||||
* Some methods for String handling
|
||||
*/
|
||||
public class StringUtils
|
||||
{
|
||||
/**
|
||||
* Escape a literal to put into a json document
|
||||
*/
|
||||
public static String escapeJson( String s )
|
||||
{
|
||||
return s;
|
||||
}
|
||||
|
||||
/**
|
||||
* Escape a literal to put into a xml document
|
||||
*/
|
||||
public static String escapeXml10( String s )
|
||||
{
|
||||
return s;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue