|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.pricingnexus.helper.DatabaseExtract
The application needs the following arguments in the command line to work
Constructor Summary | |
DatabaseExtract()
|
Method Summary | |
java.lang.StringBuffer |
doEscape(java.lang.StringBuffer db,
char ch,
char ins)
This small little code searches all occurences of the char ch in the StringBuffer db
and inserts the ins char before this to escape this char. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DatabaseExtract()
Method Detail |
public static void main(java.lang.String[] args)
public java.lang.StringBuffer doEscape(java.lang.StringBuffer db, char ch, char ins)
ch
in the StringBuffer db
and inserts the ins
char before this to escape this char. This
must be hardcoded for every database. It will problably become a small
repository of datbase escape codes in the future *G*db
- StringBuffer that needs to be examinedch
- char that shall be searched forins
- char that shall be put before any occurence of ch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |