public interface FilenameHandlerExtIF extends FilenameHandlerIF
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFileFromURL(AoSession aoSession,
java.lang.String url)
Get the local file from given URL string.
|
java.lang.String |
getURLFromFile(AoSession aoSession,
java.io.File file)
Create a URL string used by the ASAM ODS client to store into the AoExternalReference url value.
|
delete, getFile, getFileForInstance, getFileForInstanceName, getFileFromURL, getURLFromFile, move
java.lang.String getURLFromFile(AoSession aoSession, java.io.File file) throws CORBAFileServerException
aoSession
- the ASAM ODS session.file
- the local fileCORBAFileServerException
- with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORY
FILESERVER_ASAMODS_EXCEPTIONjava.io.File getFileFromURL(AoSession aoSession, java.lang.String url) throws CORBAFileServerException
aoSession
- the ASAM ODS session.url
- the url stringCORBAFileServerException
- with the following possible error codes:
FILESERVER_CONNECT_FAILED
FILESERVER_BAD_PARAMETER
FILESERVER_CONNECTION_LOST
FILESERVER_IMPLEMENTATION_PROBLEM
FILESERVER_NOT_IMPLEMENTED
FILESERVER_NO_MEMORY
FILESERVER_ASAMODS_EXCEPTION