public interface IFileIDFactory
Modifier and Type | Method and Description |
---|---|
IFileID |
createFileID(Namespace namespace,
Object[] arguments)
Create an IFileID from a Namespace and a String.
|
IFileID |
createFileID(Namespace namespace,
String remoteFile)
Create an IFileID from a Namespace and a String.
|
IFileID |
createFileID(Namespace namespace,
URI remoteFile)
Create an IFileID from a Namespace and a String.
|
IFileID |
createFileID(Namespace namespace,
URL remoteFile)
Create an IFileID from a Namespace and a String.
|
IFileID createFileID(Namespace namespace, URL remoteFile) throws FileCreateException
namespace
- the namespace to use to create the IFileID. Can use
IRetrieveFileTransferContainerAdapter.getRetrieveNamespace()
.
Must not be null
.remoteFile
- the remote filename to use. Must not be null
.null
.FileCreateException
- thrown if some problem creating IFileID from given namespace
and filenameIFileID createFileID(Namespace namespace, String remoteFile) throws FileCreateException
namespace
- the namespace to use to create the IFileID. Can use
IRetrieveFileTransferContainerAdapter.getRetrieveNamespace()
.
Must not be null.remoteFile
- the remote filename to use. Must not be null
.null
.FileCreateException
- thrown if some problem creating IFileID from given namespace
and filenameIFileID createFileID(Namespace namespace, URI remoteFile) throws FileCreateException
namespace
- the namespace to use to create the IFileID. Can use
IRetrieveFileTransferContainerAdapter.getRetrieveNamespace()
.
Must not be null.remoteFile
- the remote resource identifier to use. Must not be null
.null
.FileCreateException
- thrown if some problem creating IFileID from given namespace
and filenameIFileID createFileID(Namespace namespace, Object[] arguments) throws FileCreateException
namespace
- the namespace to use to create the IFileID. Can use
IRetrieveFileTransferContainerAdapter.getRetrieveNamespace()
.
Must not be null
.arguments
- Object [] of arguments to use to create file ID. These
arguments will be passed to the
Namespace.createInstance(Object[])
method of the
appropriate Namespace setup by the providernull
.FileCreateException
- thrown if some problem creating IFileID from given namespace
and filenameCopyright © 2017 Eclipse Foundation. All rights reserved.