|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines an IO services factory. Use this interface to manufacture objects for WebLogic File System access. The IO services factory methods take the place of constructors for objects that are used by WebLogic File System services.
Here's an example of how this interface is used in the process of writing a remote file:
T3Client t3 = new T3Client("t3://host:port"); // Get file system, file, and output stream. T3FileSystem myfs = t3.services.io().getFileSystem("myFileSystem"); T3File myFile = myfs.getFile("someDirectory/someFile"); T3FileOutputStream os = myFile.getFileOutputStream(); // Use normal OutputStream operations on os to // write a byte "b" to the output stream os.write(b);
T3ServicesDef
,
T3FileSystem
Method Summary | |
T3File |
getFile(java.lang.String path)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileInputStream |
getFileInputStream(java.lang.String path)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileInputStream |
getFileInputStream(java.lang.String path,
int bufferSize,
int readAhead)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileInputStream |
getFileInputStream(T3File file)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileInputStream |
getFileInputStream(T3File file,
int bufferSize,
int readAhead)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileOutputStream |
getFileOutputStream(java.lang.String path)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileOutputStream |
getFileOutputStream(java.lang.String path,
int bufferSize,
int writeBehind)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileOutputStream |
getFileOutputStream(T3File file)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileOutputStream |
getFileOutputStream(T3File file,
int bufferSize,
int writeBehind)
Deprecated. Deprecated in WebLogic Server 6.1. |
T3FileSystem |
getFileSystem(java.lang.String fileSystemName)
Deprecated. Deprecated in WebLogic Server 6.1. |
java.util.Enumeration |
listFileSystems()
Deprecated. This method produces the names of all the file systems on the server. |
Method Detail |
public T3FileSystem getFileSystem(java.lang.String fileSystemName) throws T3Exception
fileSystemName
- The name of the file system.public java.util.Enumeration listFileSystems() throws T3Exception
public T3File getFile(java.lang.String path) throws T3Exception
path
- The file system name and file name in the form
//fsname/filename or \\fsname\filename.public T3FileInputStream getFileInputStream(T3File file) throws T3Exception
file
- The file from which to get the streampublic T3FileInputStream getFileInputStream(T3File file, int bufferSize, int readAhead) throws T3Exception
file
- The file from which to get the streambufferSize
- Size of transfer buffers in bytesreadAhead
- Number of transfer buffers fetched in advancepublic T3FileOutputStream getFileOutputStream(T3File file) throws T3Exception
file
- The file from which to get the streampublic T3FileOutputStream getFileOutputStream(T3File file, int bufferSize, int writeBehind) throws T3Exception
file
- The file from which to get the streambufferSize
- Size of transfer buffers in byteswriteBehind
- Number of unwritten transfer bufferspublic T3FileInputStream getFileInputStream(java.lang.String path) throws T3Exception
path
- The name of the file from which to get the streampublic T3FileInputStream getFileInputStream(java.lang.String path, int bufferSize, int readAhead) throws T3Exception
path
- The name of the file from which to get the streambufferSize
- Size of transfer buffers in bytesreadAhead
- Number of transfer buffers fetched in advancepublic T3FileOutputStream getFileOutputStream(java.lang.String path) throws T3Exception
path
- The name of the file from which to get the streampublic T3FileOutputStream getFileOutputStream(java.lang.String path, int bufferSize, int writeBehind) throws T3Exception
path
- The name of the file from which to get the streambufferSize
- Size of transfer buffers in byteswriteBehind
- Number of unwritten transfer buffers
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |