Package | Description |
---|---|
org.ogf.saga.file |
This package provides classes to manipulate the contents of directories
or files.
|
Modifier and Type | Method and Description |
---|---|
static FileInputStream |
FileFactory.createFileInputStream(Session session,
URL name)
Creates a FileInputStream.
|
static FileInputStream |
FileFactory.createFileInputStream(String sagaFactoryClassname,
Session session,
URL name)
Creates a FileInputStream.
|
static FileInputStream |
FileFactory.createFileInputStream(String sagaFactoryClassname,
URL name)
Creates a FileInputStream using the default session.
|
static FileInputStream |
FileFactory.createFileInputStream(URL name)
Creates a FileInputStream using the default session.
|
protected abstract FileInputStream |
FileFactory.doCreateFileInputStream(Session session,
URL name)
Creates a FileInputStream.
|
FileInputStream |
Directory.openFileInputStream(URL name)
Creates a new
FileInputStream instance. |
Modifier and Type | Method and Description |
---|---|
abstract Task<FileInputStream,Integer> |
FileInputStream.available(TaskMode mode)
Creates a task that determines how many bytes are available from this
stream.
|
abstract Task<FileInputStream,Void> |
FileInputStream.close(TaskMode mode)
Creates a task that closes this stream.
|
static Task<FileFactory,FileInputStream> |
FileFactory.createFileInputStream(String sagaFactoryClassname,
TaskMode mode,
Session session,
URL name)
Creates a task that creates a FileInputStream.
|
static Task<FileFactory,FileInputStream> |
FileFactory.createFileInputStream(String sagaFactoryClassname,
TaskMode mode,
URL name)
Creates a task that creates a FileInputStream using the default session.
|
static Task<FileFactory,FileInputStream> |
FileFactory.createFileInputStream(TaskMode mode,
Session session,
URL name)
Creates a task that creates a FileInputStream.
|
static Task<FileFactory,FileInputStream> |
FileFactory.createFileInputStream(TaskMode mode,
URL name)
Creates a task that creates a FileInputStream using the default session.
|
protected abstract Task<FileFactory,FileInputStream> |
FileFactory.doCreateFileInputStream(TaskMode mode,
Session session,
URL name)
Creates a task that creates a FileInputStream.
|
abstract Task<FileInputStream,Void> |
FileInputStream.mark(TaskMode mode,
int readlimit)
Creates a task that marks the current position in this stream.
|
abstract Task<FileInputStream,Boolean> |
FileInputStream.markSupported(TaskMode mode)
Creates a task that determines if
InputStream.mark(int)
is supported. |
Task<Directory,FileInputStream> |
Directory.openFileInputStream(TaskMode mode,
URL name)
Creates a task that creates a new
FileInputStream
instance. |
abstract Task<FileInputStream,Integer> |
FileInputStream.read(TaskMode mode)
Creates a task that reads a byte from this stream.
|
Task<FileInputStream,Integer> |
FileInputStream.read(TaskMode mode,
byte[] buf)
Creates a task that reads a buffer from this stream.
|
abstract Task<FileInputStream,Integer> |
FileInputStream.read(TaskMode mode,
byte[] buf,
int off,
int len)
Creates task that reads (part of) a buffer from this stream.
|
abstract Task<FileInputStream,Void> |
FileInputStream.reset(TaskMode mode)
Creates a task that resets the position to the position last marked.
|
abstract Task<FileInputStream,Long> |
FileInputStream.skip(TaskMode mode,
long n)
Creates a task that skips the specified number of bytes from this stream.
|
Copyright © 2016 Open Grid Forum. All rights reserved.