|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.xml.DefaultFileNameNormalizer
Default implementation of file name normalizer. Replace any invalid characters with an escape sequence that looks like this:
'/' => "/"
DefaultXMLFileAccessorFilePolicy
Field Summary | |
static java.lang.String |
DEFAULT_INVALID_FILE_NAME_CHARACTERS A list of the default invalid file name characters that will be morphed into escape sequences. |
Constructor Summary | |
DefaultFileNameNormalizer() |
Method Summary | |
java.lang.String |
getInvalidFileNameCharacters() Return a list of the invalid file name characters that will be morphed into escape sequences. |
java.lang.String |
normalize(java.lang.String unnormalizedFileName) Convert the specified, unqualified file name into something that should be palatable as a file name (e.g. replace invalid characters with escape sequences). |
void |
setInvalidFileNameCharacters(java.lang.String invalidFileNameCharacters) Set the list of the invalid file name characters that will be morphed into escape sequences. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String DEFAULT_INVALID_FILE_NAME_CHARACTERS
\ is the filename separator in DOS/Windows and the escape character in Unix
/ is the filename separator in Unix and the command option tag in DOS
: is the filename separator in MacOS and the drive indicator in DOS
* is a DOS wildcard character
? is a DOS wildcard character
" is used by DOS to delimit file names with spaces
< is a DOS redirection character
> is a DOS redirection character
| is a DOS redirection character
& is our own escape character
Constructor Detail |
public DefaultFileNameNormalizer()
Method Detail |
public java.lang.String normalize(java.lang.String unnormalizedFileName)
FileNameNormalizer
normalize
in interface FileNameNormalizer
public java.lang.String getInvalidFileNameCharacters()
public void setInvalidFileNameCharacters(java.lang.String invalidFileNameCharacters)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |