|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Packages that use File | |
---|---|
org.ogf.saga.file | This package provides classes to manipulate the contents of directories or files. |
Uses of File in org.ogf.saga.file |
---|
Methods in org.ogf.saga.file that return File | |
---|---|
static File |
FileFactory.createFile(Session session,
URL name)
Creates a File for reading. |
static File |
FileFactory.createFile(Session session,
URL name,
int flags)
Creates a File. |
static File |
FileFactory.createFile(String sagaFactoryClassname,
Session session,
URL name)
Creates a File for reading. |
static File |
FileFactory.createFile(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a File. |
static File |
FileFactory.createFile(String sagaFactoryClassname,
URL name)
Creates a File for reading, using the default session. |
static File |
FileFactory.createFile(String sagaFactoryClassname,
URL name,
int flags)
Creates a File using the default session. |
static File |
FileFactory.createFile(URL name)
Creates a File for reading, using the default session. |
static File |
FileFactory.createFile(URL name,
int flags)
Creates a File using the default session. |
protected abstract File |
FileFactory.doCreateFile(Session session,
URL name,
int flags)
Creates a File. |
File |
Directory.openFile(URL name)
Creates a new File instance. |
File |
Directory.openFile(URL name,
int flags)
Creates a new File instance. |
Methods in org.ogf.saga.file that return types with arguments of type File | |
---|---|
static Task<FileFactory,File> |
FileFactory.createFile(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name)
Creates a task that creates a File for reading. |
static Task<FileFactory,File> |
FileFactory.createFile(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a File. |
static Task<FileFactory,File> |
FileFactory.createFile(String sagaFactoryClassname,
TaskMode mode,
URL name)
Creates a task that creates a File for reading, using the default session. |
static Task<FileFactory,File> |
FileFactory.createFile(String sagaFactoryClassname,
TaskMode mode,
URL name,
int flags)
Creates a task that creates a File, using the default session. |
static Task<FileFactory,File> |
FileFactory.createFile(TaskMode mode,
Session session,
URL name)
Creates a task that creates a File for reading. |
static Task<FileFactory,File> |
FileFactory.createFile(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a File. |
static Task<FileFactory,File> |
FileFactory.createFile(TaskMode mode,
URL name)
Creates a task that creates a File for reading, using the default session. |
static Task<FileFactory,File> |
FileFactory.createFile(TaskMode mode,
URL name,
int flags)
Creates a task that creates a File, using the default session. |
protected abstract Task<FileFactory,File> |
FileFactory.doCreateFile(TaskMode mode,
Session session,
URL name,
int flags)
Creates a task that creates a File. |
Task<File,Long> |
File.getSize(TaskMode mode)
Creates a task that obtains the number of bytes in the file. |
Task<File,List<String>> |
File.modesE(TaskMode mode)
Creates a task that lists the extended modes available in this implementation and/or on the server side. |
Task<Directory,File> |
Directory.openFile(TaskMode mode,
URL name)
Creates a task that creates a new File instance. |
Task<Directory,File> |
Directory.openFile(TaskMode mode,
URL name,
int flags)
Creates a task that creates a new File instance. |
Task<File,Integer> |
File.read(TaskMode mode,
Buffer buffer)
Creates a task that reads up to the buffer's size bytes from the file into the buffer. |
Task<File,Integer> |
File.read(TaskMode mode,
Buffer buffer,
int len)
Creates a task that reads up to len bytes from the file
into the buffer. |
Task<File,Integer> |
File.read(TaskMode mode,
Buffer buffer,
int offset,
int len)
Creates a task that reads up to len bytes from the file
into the buffer at the specified buffer offset . |
Task<File,Integer> |
File.readE(TaskMode mode,
String emode,
String spec,
Buffer buffer)
Creates a task for an extended read. |
Task<File,Integer> |
File.readP(TaskMode mode,
String pattern,
Buffer buffer)
Creates a task that does a pattern-based read. |
Task<File,Void> |
File.readV(TaskMode mode,
IOVec[] iovecs)
Creates a task that does a gather/scatter read. |
Task<File,Long> |
File.seek(TaskMode mode,
long offset,
SeekMode whence)
Creates a task that repositions the current file position as requested. |
Task<File,Integer> |
File.sizeE(TaskMode mode,
String emode,
String spec)
Creates a task that determines the storage size required for an extended I/O operation. |
Task<File,Integer> |
File.sizeP(TaskMode mode,
String pattern)
Creates a task that determines the storage size required for a pattern I/O operation. |
Task<File,Integer> |
File.write(TaskMode mode,
Buffer buffer)
Creates a task that writes up to the buffer's size bytes from the buffer to the file at the current file position. |
Task<File,Integer> |
File.write(TaskMode mode,
Buffer buffer,
int len)
Creates a task that writes up to len bytes from the buffer
to the file at the current file position. |
Task<File,Integer> |
File.write(TaskMode mode,
Buffer buffer,
int offset,
int len)
Creates a task that writes up to len bytes from the buffer
at the specified buffer offset to the file at the current
file position. |
Task<File,Integer> |
File.writeE(TaskMode mode,
String emode,
String spec,
Buffer buffer)
Creates a task for an extended write. |
Task<File,Integer> |
File.writeP(TaskMode mode,
String pattern,
Buffer buffer)
Creates a task that does a pattern-based write. |
Task<File,Void> |
File.writeV(TaskMode mode,
IOVec[] iovecs)
Creates a task that does a gather/scatter write. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |