|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.invocation.http.TURLPathEncoder
public class TURLPathEncoder
TURLPathEncoder defines how to encode a URL path so that it fullfills the specification given by RFC 2396. According to this only ASCII characters can be used, others that do not conform to this have to be encoded in the form %xx where xx represents the hex code for the specific character. Class is implemented due to singleton design pattern.
Constructor Summary | |
---|---|
protected |
TURLPathEncoder()
Default Constructor. |
Method Summary | |
---|---|
java.lang.String |
encode(java.lang.String path)
Encodes the given path so that it only contains ASCII characters. |
static TURLPathEncoder |
getInstance()
Gets the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TURLPathEncoder()
Method Detail |
---|
public static TURLPathEncoder getInstance()
public java.lang.String encode(java.lang.String path)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |