Package | Description |
---|---|
org.ogf.saga.file |
This package provides classes to manipulate the contents of directories
or files.
|
org.ogf.saga.stream |
The streams package provides a simple mechanism for setting up
connections to remote components.
|
org.ogf.saga.task |
This package provides classes and methods for manipulating tasks and
collections of tasks.
|
Modifier and Type | Method and Description |
---|---|
int |
File.read(Buffer buffer)
Reads up to the buffer's size from the file into the buffer.
|
int |
File.read(Buffer buffer,
int len)
Reads up to
len bytes from the file into the buffer. |
int |
File.read(Buffer buffer,
int offset,
int len)
Reads up to
len bytes from the file into the buffer, at
the specified offset . |
int |
File.readE(String emode,
String spec,
Buffer buffer)
Extended read.
|
int |
File.readP(String pattern,
Buffer buffer)
Pattern-based read.
|
void |
File.readV(IOVec[] iovecs)
Gather/scatter read.
|
long |
File.seek(long offset,
SeekMode whence)
Repositions the current file position as requested.
|
int |
File.write(Buffer buffer)
Writes up to the buffer's size bytes from the buffer to the file at the
current file position.
|
int |
File.write(Buffer buffer,
int len)
Writes up to
len bytes from the buffer to the file at the
current file position. |
int |
File.write(Buffer buffer,
int offset,
int len)
Writes up to
len bytes from the buffer at the specified
buffer offset to the file at the current file position. |
int |
File.writeE(String emode,
String spec,
Buffer buffer)
Extended write.
|
int |
File.writeP(String pattern,
Buffer buffer)
Pattern-based write.
|
void |
File.writeV(IOVec[] iovecs)
Gather/scatter write.
|
Modifier and Type | Method and Description |
---|---|
StreamInputStream |
Stream.getInputStream()
Obtains an InputStream from the stream.
|
StreamOutputStream |
Stream.getOutputStream()
Obtains an OutputStream from the stream.
|
int |
Stream.read(Buffer buffer)
Reads a raw buffer from the stream.
|
int |
Stream.read(Buffer buffer,
int len)
Reads a raw buffer from the stream.
|
int |
Stream.write(Buffer buffer)
Writes a raw buffer to the stream.
|
int |
Stream.write(Buffer buffer,
int len)
Writes a raw buffer to the stream.
|
Modifier and Type | Method and Description |
---|---|
E |
Task.getResult()
Obtains the result of the asynchronous method call.
|
void |
Task.rethrow()
Throws any exception a failed task caught.
|
Copyright © 2016 Open Grid Forum. All rights reserved.