Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


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).

 

Method Detail

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.

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.