oracle.toplink.xml
Interface FileNameNormalizer
- All Known Implementing Classes:
- DefaultFileNameNormalizer
- public interface FileNameNormalizer
This policy is used by XMLFileAccessorFilePolicy
to "normalize" file names; i.e. convert invalid characters into something acceptable to the current O/S.
- Since:
- TOPLink/Java 4.5
Method Summary |
java.lang.String |
normalize(java.lang.String unqualifiedFileName)
Convert the specified, unqualified file name into something that should be palatable as a file name (e.g. replace invalid characters with escape sequences). |
normalize
public java.lang.String normalize(java.lang.String unqualifiedFileName)
- Convert the specified, unqualified file name into something that should be palatable as a file name (e.g. replace invalid characters with escape sequences). The name must be unqualified so we don't convert any legitimate file name separators.