|
Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated) 11g Release 1 (11.1.1) B32476-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.xml.DefaultFileNameNormalizer
oracle.toplink.ox
public class 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
Deprecated. A list of the default invalid file name characters that will be morphed into escape sequences. |
Constructor Summary | |
---|---|
DefaultFileNameNormalizer()
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
getInvalidFileNameCharacters()
Deprecated. Return a list of the invalid file name characters that will be morphed into escape sequences. |
java.lang.String |
normalize(java.lang.String unnormalizedFileName)
Deprecated. 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)
Deprecated. 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
DefaultFileNameNormalizer
\ 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)
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 |