|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.gael.drb.impl.file.FileFactory
public final class FileFactory
Factory of local file or directory nodes. This class implements the DrbFactoryImpl interface to create fr.drb.impl.file.File nodes that handles file system elements such has directories or files. This factory is not supposed to be used directly from any component but has been designed for the fr.gael.drb.Factory class.
File,
DrbFactory| Constructor Summary | |
|---|---|
FileFactory()
|
|
| Method Summary | |
|---|---|
String |
getIdentifier()
Returns "file" string. |
String |
getName()
Returns "Local file system" string. |
DrbNode |
open(DrbNode base_node)
Opens the node from an existing node. |
DrbNode |
open(File file)
Creates a file node from an abstract path file. |
DrbNode |
open(String file_path)
Create a file node matching the provided path. |
DrbNode |
open(URL url)
Create a file node matching the provided URI. |
DrbNode |
open(URL uri,
DrbNode base_node)
Opens the node matching a given URI from an existing node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileFactory()
| Method Detail |
|---|
public final String getIdentifier()
getIdentifier in interface DrbFactoryImplpublic final String getName()
getName in interface DrbFactoryImplpublic final DrbNode open(URL url)
open in interface DrbFactoryImplurl - The "Uniform Resource Locator" (URL) to be handled. This
parameter shall not be null.
public final DrbNode open(String file_path)
file_path - The path of the target file. This parameter shall not be
null.
public final DrbNode open(DrbNode base_node)
open in interface DrbFactoryImplbase_node - A node reference that is not considered.
public final DrbNode open(URL uri,
DrbNode base_node)
open in interface DrbFactoryImpluri - The "Uniform Resource Identifier" (URI) to be handled. This
parameter shall never be null.base_node - Not considered.
public final DrbNode open(File file)
file - the abstract path file of the file to be opened.
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||