Package | Description |
---|---|
com.ewon.ewonitf | |
java.io | |
java.lang | |
java.net | |
java.rmi | |
java.rmi.activation | |
java.rmi.server | |
java.security | |
java.security.cert | |
java.util | |
java.util.jar | |
java.util.zip |
Modifier and Type | Method and Description |
---|---|
int |
Exporter.available()
Returns the number of bytes that can be read (or skipped over) from
this input stream without blocking by the next caller of a method for
this input stream.
|
static int |
CommDriver.availableImpl(int hPort)
return the number of bytes available for reading on the given serial port.
|
void |
Exporter.close()
Closes this input stream and releases any system resources associated
with the stream.
|
void |
Loader.close()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
static void |
CommDriver.closeImpl(int hPort)
Close a serial port.
|
static void |
CommDriver.configurePortImpl(int port,
int baud,
int flags)
Configure a serial port optional parameters.
|
static void |
CommDriver.configuretimeoutsImpl(int port,
int rxTimeout,
int txTimeout)
Configure the timeouts for the serial port blocking operations
|
void |
Exporter.ExportTo(String fileName)
Transfert the data from the export block descriptor to the given connector.
This function is typically used after the stream (the Exporter) has been created. |
void |
Loader.flush()
Flushes this output stream and forces any buffered output bytes
to be written out.
|
static int |
CommDriver.getModemSignalImpl(int port,
int signal)
Get the postion of a port signal
|
static int |
CommDriver.getTxBufferUsedImpl(int hPort) |
void |
Loader.LoadFrom(String fileName)
Write the file described by the given connector to the Loader Stream.
This function is typically used after the stream has been created. |
static int |
CommDriver.openByNameImpl(String name,
int baud,
int flags)
Open a serial port by system dependent device name.
|
static int |
CommDriver.openByNumberImpl(int port,
int baud,
int flags)
Open a serial port by logical number.
|
int |
Exporter.read() |
int |
Exporter.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the input stream into
an array of bytes. |
static int |
CommDriver.readBytesImpl(int hPort,
byte[] b,
int off,
int len)
Read from a serial port without blocking.
|
static void |
CommDriver.setBreakImpl(int hPort,
boolean breakOn)
Enable or disable break on the serial port output.
|
static void |
CommDriver.setModemSignalImpl(int port,
int signal,
boolean value)
Set the postion of a port signal
|
void |
Loader.write(byte[] b,
int off,
int len)
Writes
len bytes from the specified byte array
starting at offset off to this output stream. |
void |
WebProducer.write(byte[] b,
int off,
int len)
overrides the OutputStream function in order to go faster
|
void |
Loader.write(int b)
Writes the specified byte to this output stream.
|
void |
WebProducer.write(int data) |
static int |
CommDriver.writeBytesImpl(int hPort,
byte[] b,
int off,
int len)
Write to a serial port without blocking.
|
Constructor and Description |
---|
Exporter(String exportBlockDescriptor)
Creates a new instance of Exporter.
|
Loader(String fileName)
Creates a new instance of Loader
|
Modifier and Type | Class and Description |
---|---|
class |
CharConversionException |
class |
EOFException |
class |
FileNotFoundException |
class |
InterruptedIOException |
class |
InvalidClassException |
class |
InvalidObjectException |
class |
NotActiveException |
class |
NotSerializableException |
class |
ObjectStreamException |
class |
OptionalDataException |
class |
StreamCorruptedException |
class |
SyncFailedException |
class |
UnsupportedEncodingException |
class |
UTFDataFormatException |
class |
WriteAbortedException |
Modifier and Type | Method and Description |
---|---|
boolean |
File._createNew() |
protected void |
ObjectOutputStream.annotateClass(Class clazz) |
protected void |
ObjectOutputStream.annotateProxyClass(Class clazz) |
int |
BufferedInputStream.available()
Answers an int representing the number of bytes that are available before
this BufferedInputStream will block.
|
int |
FileInputStream.available() |
int |
FilterInputStream.available() |
int |
InputStream.available() |
int |
LineNumberInputStream.available() |
int |
ObjectInput.available() |
int |
ObjectInputStream.available() |
int |
PipedInputStream.available() |
int |
PushbackInputStream.available() |
int |
SequenceInputStream.available() |
void |
BufferedInputStream.close()
Close this BufferedInputStream.
|
void |
BufferedReader.close() |
void |
BufferedWriter.close() |
void |
ByteArrayInputStream.close() |
void |
ByteArrayOutputStream.close() |
void |
FileInputStream.close() |
void |
FileOutputStream.close() |
void |
FilterInputStream.close() |
void |
FilterOutputStream.close() |
void |
FilterReader.close() |
void |
FilterWriter.close() |
void |
InputStream.close() |
void |
InputStreamReader.close()
Close the stream, freeing any temporary buffers we may be holding.
|
void |
ObjectInput.close() |
void |
ObjectInputStream.close() |
void |
ObjectOutput.close() |
void |
ObjectOutputStream.close() |
void |
OutputStream.close() |
void |
OutputStreamWriter.close() |
void |
PipedInputStream.close() |
void |
PipedOutputStream.close() |
void |
PipedReader.close() |
void |
PipedWriter.close() |
void |
PushbackInputStream.close() |
void |
PushbackReader.close() |
void |
RandomAccessFile.close() |
abstract void |
Reader.close() |
void |
SequenceInputStream.close() |
void |
StringWriter.close()
This method does nothing ...
|
abstract void |
Writer.close() |
void |
PipedOutputStream.connect(PipedInputStream dst) |
void |
PipedInputStream.connect(PipedOutputStream src) |
void |
PipedWriter.connect(PipedReader sink) |
void |
PipedReader.connect(PipedWriter src) |
boolean |
File.createNewFile() |
static File |
File.createTempFile(String pre,
String suf) |
static File |
File.createTempFile(String pre,
String suf,
File dir) |
abstract boolean |
ObjectInputStream.GetField.defaulted(String name) |
void |
ObjectInputStream.defaultReadObject() |
void |
ObjectOutputStream.defaultWriteObject() |
protected void |
ObjectOutputStream.drain() |
protected void |
FileInputStream.finalize() |
protected void |
FileOutputStream.finalize() |
void |
BufferedOutputStream.flush() |
void |
BufferedWriter.flush() |
void |
DataOutputStream.flush() |
void |
FileOutputStream.flush() |
void |
FilterOutputStream.flush() |
void |
FilterWriter.flush() |
void |
ObjectOutput.flush() |
void |
ObjectOutputStream.flush() |
void |
OutputStream.flush() |
void |
OutputStreamWriter.flush() |
void |
PipedOutputStream.flush() |
void |
PipedWriter.flush() |
abstract void |
Writer.flush() |
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean defvalue) |
abstract byte |
ObjectInputStream.GetField.get(String name,
byte defvalue) |
abstract char |
ObjectInputStream.GetField.get(String name,
char defvalue) |
abstract double |
ObjectInputStream.GetField.get(String name,
double defvalue) |
abstract float |
ObjectInputStream.GetField.get(String name,
float defvalue) |
abstract int |
ObjectInputStream.GetField.get(String name,
int defvalue) |
abstract long |
ObjectInputStream.GetField.get(String name,
long defvalue) |
abstract Object |
ObjectInputStream.GetField.get(String name,
Object defvalue) |
abstract short |
ObjectInputStream.GetField.get(String name,
short defvalue) |
File |
File.getCanonicalFile() |
String |
File.getCanonicalPath() |
FileDescriptor |
FileInputStream.getFD() |
FileDescriptor |
FileOutputStream.getFD() |
FileDescriptor |
RandomAccessFile.getFD() |
long |
RandomAccessFile.getFilePointer() |
long |
RandomAccessFile.length() |
void |
BufferedReader.mark(int readLimit) |
void |
CharArrayReader.mark(int readAheadLimit) |
void |
FilterReader.mark(int readLimit) |
void |
LineNumberReader.mark(int readlimit) |
void |
PushbackReader.mark(int ignored) |
void |
Reader.mark(int readLimit) |
void |
StringReader.mark(int ignored) |
void |
BufferedWriter.newLine() |
int |
StreamTokenizer.nextToken()
Answer the next token type.
|
ObjectOutputStream.PutField |
ObjectOutputStream.putFields() |
int |
BufferedInputStream.read()
Reads a single byte from this BufferedInputStream and returns the result
as an int.
|
int |
BufferedReader.read() |
int |
CharArrayReader.read() |
int |
FileInputStream.read() |
int |
FilterInputStream.read() |
int |
FilterReader.read() |
abstract int |
InputStream.read() |
int |
InputStreamReader.read() |
int |
LineNumberInputStream.read() |
int |
LineNumberReader.read() |
int |
ObjectInput.read() |
int |
ObjectInputStream.read() |
int |
PipedInputStream.read() |
int |
PipedReader.read() |
int |
PushbackInputStream.read() |
int |
PushbackReader.read() |
int |
RandomAccessFile.read() |
int |
Reader.read() |
int |
SequenceInputStream.read() |
int |
StringReader.read() |
int |
DataInputStream.read(byte[] bytes) |
int |
FileInputStream.read(byte[] b) |
int |
FilterInputStream.read(byte[] b) |
int |
InputStream.read(byte[] b) |
int |
ObjectInput.read(byte[] b) |
int |
RandomAccessFile.read(byte[] b) |
int |
BufferedInputStream.read(byte[] buffer,
int offset,
int length)
Reads at most
length bytes from this BufferedInputStream and
stores them in byte array buffer starting at offset
offset . |
int |
DataInputStream.read(byte[] bytes,
int offset,
int length) |
int |
FileInputStream.read(byte[] b,
int off,
int len) |
int |
FilterInputStream.read(byte[] b,
int off,
int len) |
int |
InputStream.read(byte[] b,
int off,
int len) |
int |
LineNumberInputStream.read(byte[] b,
int off,
int len) |
int |
ObjectInput.read(byte[] b,
int off,
int len) |
int |
ObjectInputStream.read(byte[] b,
int off,
int size) |
int |
PipedInputStream.read(byte[] buffer,
int offset,
int count) |
int |
PushbackInputStream.read(byte[] b,
int off,
int len) |
int |
RandomAccessFile.read(byte[] b,
int off,
int len) |
int |
SequenceInputStream.read(byte[] b,
int off,
int len) |
int |
Reader.read(char[] chars) |
int |
BufferedReader.read(char[] b,
int off,
int len) |
int |
CharArrayReader.read(char[] chars,
int off,
int len) |
int |
FilterReader.read(char[] chars,
int off,
int len) |
int |
InputStreamReader.read(char[] buf,
int off,
int len)
Read a number of characters from the input stream.
|
int |
LineNumberReader.read(char[] chars,
int off,
int len) |
int |
PipedReader.read(char[] buff,
int offset,
int count) |
int |
PushbackReader.read(char[] buf,
int off,
int len) |
abstract int |
Reader.read(char[] chars,
int off,
int len)
real implementations should be synchronized ...
|
int |
StringReader.read(char[] chars,
int off,
int len) |
boolean |
DataInput.readBoolean() |
boolean |
DataInputStream.readBoolean() |
boolean |
ObjectInputStream.readBoolean() |
boolean |
RandomAccessFile.readBoolean() |
byte |
DataInput.readByte() |
byte |
DataInputStream.readByte() |
byte |
ObjectInputStream.readByte() |
byte |
RandomAccessFile.readByte() |
char |
DataInput.readChar() |
char |
DataInputStream.readChar() |
char |
ObjectInputStream.readChar() |
char |
RandomAccessFile.readChar() |
protected ObjectStreamClass |
ObjectInputStream.readClassDescriptor() |
double |
DataInput.readDouble() |
double |
DataInputStream.readDouble() |
double |
ObjectInputStream.readDouble() |
double |
RandomAccessFile.readDouble() |
void |
Externalizable.readExternal(ObjectInput in) |
ObjectInputStream.GetField |
ObjectInputStream.readFields() |
float |
DataInput.readFloat() |
float |
DataInputStream.readFloat() |
float |
ObjectInputStream.readFloat() |
float |
RandomAccessFile.readFloat() |
void |
DataInput.readFully(byte[] b) |
void |
DataInputStream.readFully(byte[] b) |
void |
ObjectInputStream.readFully(byte[] data) |
void |
RandomAccessFile.readFully(byte[] b) |
void |
DataInput.readFully(byte[] b,
int off,
int len) |
void |
DataInputStream.readFully(byte[] b,
int off,
int len) |
void |
ObjectInputStream.readFully(byte[] data,
int offset,
int size) |
void |
RandomAccessFile.readFully(byte[] b,
int off,
int len) |
int |
DataInput.readInt() |
int |
DataInputStream.readInt() |
int |
ObjectInputStream.readInt() |
int |
RandomAccessFile.readInt() |
String |
BufferedReader.readLine() |
String |
DataInput.readLine() |
String |
DataInputStream.readLine() |
String |
LineNumberReader.readLine() |
String |
ObjectInputStream.readLine() |
String |
RandomAccessFile.readLine() |
long |
DataInput.readLong() |
long |
DataInputStream.readLong() |
long |
ObjectInputStream.readLong() |
long |
RandomAccessFile.readLong() |
Object |
ObjectInput.readObject() |
Object |
ObjectInputStream.readObject() |
protected Object |
ObjectInputStream.readObjectOverride()
default implementation returns null
|
short |
DataInput.readShort() |
short |
DataInputStream.readShort() |
short |
ObjectInputStream.readShort() |
short |
RandomAccessFile.readShort() |
protected void |
ObjectInputStream.readStreamHeader() |
Object |
ObjectInputStream.readUnshared() |
int |
DataInput.readUnsignedByte() |
int |
DataInputStream.readUnsignedByte() |
int |
ObjectInputStream.readUnsignedByte() |
int |
RandomAccessFile.readUnsignedByte() |
int |
DataInput.readUnsignedShort() |
int |
DataInputStream.readUnsignedShort() |
int |
ObjectInputStream.readUnsignedShort() |
int |
RandomAccessFile.readUnsignedShort() |
String |
DataInput.readUTF() |
String |
DataInputStream.readUTF() |
String |
ObjectInputStream.readUTF() |
String |
RandomAccessFile.readUTF() |
static String |
DataInputStream.readUTF(DataInput in) |
boolean |
BufferedReader.ready() |
boolean |
CharArrayReader.ready() |
boolean |
FilterReader.ready() |
boolean |
InputStreamReader.ready()
Returns true iff there are yet-to-be-processed characters in the
underlying bytestream.
|
boolean |
PipedReader.ready() |
boolean |
PushbackReader.ready() |
boolean |
Reader.ready() |
boolean |
StringReader.ready() |
protected void |
PipedInputStream.receive(int oneByte) |
protected Object |
ObjectOutputStream.replaceObject(Object obj) |
void |
BufferedInputStream.reset()
Reset this BufferedInputStream to the last marked location.
|
void |
BufferedReader.reset() |
void |
CharArrayReader.reset() |
void |
FilterInputStream.reset() |
void |
FilterReader.reset() |
void |
InputStream.reset() |
void |
LineNumberInputStream.reset() |
void |
LineNumberReader.reset() |
void |
ObjectOutputStream.reset() |
void |
PushbackReader.reset() |
void |
Reader.reset() |
void |
StringReader.reset() |
protected Class |
ObjectInputStream.resolveClass(ObjectStreamClass osc) |
protected Object |
ObjectInputStream.resolveObject(Object obj)
the default behaviour is to return the same object
|
protected Class |
ObjectInputStream.resolveProxyClass(String[] interfaces) |
void |
RandomAccessFile.seek(long pos) |
void |
RandomAccessFile.setLength(long NewLength) |
long |
BufferedInputStream.skip(long amount)
Skips
amount number of bytes in this BufferedInputStream. |
long |
BufferedReader.skip(long n) |
long |
CharArrayReader.skip(long n) |
long |
FileInputStream.skip(long n) |
long |
FilterInputStream.skip(long n) |
long |
FilterReader.skip(long n) |
long |
InputStream.skip(long n) |
long |
LineNumberInputStream.skip(long n) |
long |
LineNumberReader.skip(long count) |
long |
ObjectInput.skip(long n) |
long |
PushbackInputStream.skip(long n) |
long |
Reader.skip(long skip) |
long |
StringReader.skip(long skip) |
int |
DataInput.skipBytes(int n) |
int |
DataInputStream.skipBytes(int n) |
int |
ObjectInputStream.skipBytes(int len) |
int |
RandomAccessFile.skipBytes(int n) |
void |
PushbackInputStream.unread(byte[] b) |
void |
PushbackInputStream.unread(byte[] b,
int off,
int len) |
void |
PushbackReader.unread(char[] buf) |
void |
PushbackReader.unread(char[] buf,
int off,
int len) |
void |
PushbackInputStream.unread(int b) |
void |
PushbackReader.unread(int ch) |
void |
ObjectOutputStream.useProtocolVersion(int version) |
void |
DataOutput.write(byte[] b) |
void |
FileOutputStream.write(byte[] b) |
void |
FilterOutputStream.write(byte[] b) |
void |
ObjectOutput.write(byte[] b) |
void |
ObjectOutputStream.write(byte[] buf) |
void |
OutputStream.write(byte[] b) |
void |
RandomAccessFile.write(byte[] b) |
void |
BufferedOutputStream.write(byte[] b,
int off,
int len) |
void |
DataOutput.write(byte[] b,
int off,
int len) |
void |
DataOutputStream.write(byte[] b,
int off,
int len) |
void |
FileOutputStream.write(byte[] b,
int off,
int len) |
void |
FilterOutputStream.write(byte[] b,
int off,
int len) |
void |
ObjectOutput.write(byte[] b,
int off,
int len) |
void |
ObjectOutputStream.write(byte[] buf,
int off,
int len) |
void |
OutputStream.write(byte[] b,
int off,
int len) |
void |
PipedOutputStream.write(byte[] buffer,
int offset,
int count) |
void |
RandomAccessFile.write(byte[] b,
int off,
int len) |
void |
Writer.write(char[] buf) |
void |
BufferedWriter.write(char[] cbuf,
int offset,
int count) |
void |
FilterWriter.write(char[] buf,
int offset,
int count) |
void |
OutputStreamWriter.write(char[] chars,
int off,
int len) |
void |
PipedWriter.write(char[] buff,
int offset,
int count) |
abstract void |
Writer.write(char[] cbuf,
int off,
int len)
Note: an implementation of this method should use the 'lock' object
to synchronize with other methods ...
|
void |
BufferedOutputStream.write(int b) |
void |
BufferedWriter.write(int oneChar) |
void |
DataOutput.write(int b) |
void |
DataOutputStream.write(int b) |
void |
FileOutputStream.write(int b) |
void |
FilterOutputStream.write(int b) |
void |
FilterWriter.write(int oneChar) |
void |
ObjectOutput.write(int b) |
void |
ObjectOutputStream.write(int data) |
abstract void |
OutputStream.write(int b) |
void |
OutputStreamWriter.write(int ch) |
void |
PipedOutputStream.write(int oneByte) |
void |
PipedWriter.write(int ch) |
void |
RandomAccessFile.write(int b) |
void |
Writer.write(int c) |
abstract void |
ObjectOutputStream.PutField.write(ObjectOutput out) |
void |
Writer.write(String string) |
void |
BufferedWriter.write(String str,
int offset,
int count) |
void |
FilterWriter.write(String str,
int offset,
int count) |
void |
OutputStreamWriter.write(String str,
int off,
int len) |
void |
Writer.write(String string,
int off,
int len) |
void |
DataOutput.writeBoolean(boolean v) |
void |
DataOutputStream.writeBoolean(boolean bool) |
void |
ObjectOutputStream.writeBoolean(boolean data) |
void |
RandomAccessFile.writeBoolean(boolean v) |
void |
DataOutput.writeByte(int v) |
void |
DataOutputStream.writeByte(int v) |
void |
ObjectOutputStream.writeByte(int data) |
void |
RandomAccessFile.writeByte(int v) |
void |
DataOutput.writeBytes(String s) |
void |
DataOutputStream.writeBytes(String s) |
void |
ObjectOutputStream.writeBytes(String string) |
void |
RandomAccessFile.writeBytes(String s) |
void |
DataOutput.writeChar(int v) |
void |
DataOutputStream.writeChar(int ch) |
void |
ObjectOutputStream.writeChar(int data) |
void |
RandomAccessFile.writeChar(int v) |
void |
DataOutput.writeChars(String s) |
void |
DataOutputStream.writeChars(String s) |
void |
ObjectOutputStream.writeChars(String string) |
void |
RandomAccessFile.writeChars(String s) |
protected void |
ObjectOutputStream.writeClassDescriptor(ObjectStreamClass osc) |
void |
DataOutput.writeDouble(double v) |
void |
DataOutputStream.writeDouble(double f) |
void |
ObjectOutputStream.writeDouble(double d) |
void |
RandomAccessFile.writeDouble(double v) |
void |
Externalizable.writeExternal(ObjectOutput out) |
void |
ObjectOutputStream.writeFields() |
void |
DataOutput.writeFloat(float v) |
void |
DataOutputStream.writeFloat(float f) |
void |
ObjectOutputStream.writeFloat(float f) |
void |
RandomAccessFile.writeFloat(float v) |
void |
DataOutput.writeInt(int v) |
void |
DataOutputStream.writeInt(int i) |
void |
ObjectOutputStream.writeInt(int data) |
void |
RandomAccessFile.writeInt(int v) |
void |
DataOutput.writeLong(long v) |
void |
DataOutputStream.writeLong(long l) |
void |
ObjectOutputStream.writeLong(long data) |
void |
RandomAccessFile.writeLong(long v) |
void |
ObjectOutput.writeObject(Object obj) |
void |
ObjectOutputStream.writeObject(Object obj) |
protected void |
ObjectOutputStream.writeObjectOverride(Object obj) |
void |
DataOutput.writeShort(int v) |
void |
DataOutputStream.writeShort(int sh) |
void |
ObjectOutputStream.writeShort(int data) |
void |
RandomAccessFile.writeShort(int v) |
protected void |
ObjectOutputStream.writeStreamHeader() |
void |
ByteArrayOutputStream.writeTo(OutputStream out) |
void |
CharArrayWriter.writeTo(Writer out) |
void |
ObjectOutputStream.writeUnshared(Object obj) |
void |
DataOutput.writeUTF(String s) |
void |
DataOutputStream.writeUTF(String s) |
void |
ObjectOutputStream.writeUTF(String s) |
void |
RandomAccessFile.writeUTF(String str) |
Constructor and Description |
---|
FileWriter(File file) |
FileWriter(File file,
boolean append) |
FileWriter(String filename) |
FileWriter(String filename,
boolean append) |
ObjectInputStream() |
ObjectInputStream(InputStream in) |
ObjectOutputStream() |
ObjectOutputStream(OutputStream out) |
PipedInputStream(PipedOutputStream src) |
PipedOutputStream(PipedInputStream dst) |
PipedReader(PipedWriter src) |
PipedWriter(PipedReader sink) |
Modifier and Type | Method and Description |
---|---|
Process |
Runtime.exec(String command) |
Process |
Runtime.exec(String[] cmdarray) |
Process |
Runtime.exec(String[] cmdarray,
String[] envp) |
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File path) |
Process |
Runtime.exec(String command,
String[] envp) |
Process |
Runtime.exec(String command,
String[] envp,
File path) |
protected Enumeration |
ClassLoader.findResources(String resname)
findResources returns an empty Enumeration: real resource-aware
ClassLoaders override this method.
|
Enumeration |
ClassLoader.getResources(String resname)
getResources retrieves all the resource matching "name" in a
responsibly delegating manner.
|
static Enumeration |
ClassLoader.getSystemResources(String resname)
Get all resources using the system class loader.
|
Modifier and Type | Class and Description |
---|---|
class |
BindException |
class |
MalformedURLException |
class |
NoRouteToHostException |
class |
PortUnreachableException
PortUnreachableException: new since 1.4
|
class |
ProtocolException |
class |
SocketException |
class |
SocketTimeoutException |
class |
UnknownHostException |
class |
UnknownServiceException |
Modifier and Type | Method and Description |
---|---|
Socket |
ServerSocket.accept() |
protected abstract void |
SocketImpl.accept(SocketImpl s) |
protected abstract int |
SocketImpl.available() |
protected abstract void |
SocketImpl.bind(InetAddress host,
int port) |
void |
Socket.bind(SocketAddress sa) |
void |
ServerSocket.close() |
void |
Socket.close() |
protected abstract void |
SocketImpl.close() |
abstract void |
URLConnection.connect()
Establishes the connection to the earlier configured resource.
|
protected abstract void |
SocketImpl.connect(InetAddress address,
int port) |
void |
Socket.connect(SocketAddress sa) |
void |
Socket.connect(SocketAddress sa,
int timeout) |
protected abstract void |
SocketImpl.connect(SocketAddress address,
int timeout) |
protected abstract void |
SocketImpl.connect(String host,
int port) |
protected abstract void |
SocketImpl.create(boolean stream) |
Enumeration |
URLClassLoader.findResources(String name) |
Attributes |
JarURLConnection.getAttributes() |
Certificate[] |
JarURLConnection.getCertificates() |
Object |
URL.getContent()
Gets the content of the resource which is referred by this URL.
|
Object |
URLConnection.getContent()
Gets an object representing the content of the resource this
URLConnection is connected to. |
Object |
URL.getContent(Class[] types)
Gets the content of the resource which is referred by this URL.
|
Object |
URLConnection.getContent(Class[] types)
Gets an object representing the content of the resource this
URLConnection is connected to. |
abstract Object |
ContentHandler.getContent(URLConnection urlc) |
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes) |
InputStream |
Socket.getInputStream() |
protected abstract InputStream |
SocketImpl.getInputStream() |
InputStream |
URLConnection.getInputStream()
Gets an
InputStream for reading data from the resource pointed by
this URLConnection . |
JarEntry |
JarURLConnection.getJarEntry()
Return an immutable copy of the JarEntry within the JarFile
(or null if none was specified).
|
abstract JarFile |
JarURLConnection.getJarFile()
Return the underlying JarFile, as an immutable object.
|
Attributes |
JarURLConnection.getMainAttributes() |
Manifest |
JarURLConnection.getManifest()
Return the Manifest of the underlying JarFile, as an immutable object.
|
OutputStream |
Socket.getOutputStream() |
protected abstract OutputStream |
SocketImpl.getOutputStream() |
OutputStream |
URLConnection.getOutputStream()
Gets an
OutputStream for writing data to this URLConnection . |
Permission |
HttpURLConnection.getPermission()
Returns the permission object (in this case
SocketPermission )
with the host and the port number as the target name and "resolve, connect" as the action list. |
Permission |
URLConnection.getPermission()
Gets a
Permission object representing all needed permissions to
open this connection. |
int |
HttpURLConnection.getResponseCode()
Returns the response code returned by the remote HTTP server.
|
String |
HttpURLConnection.getResponseMessage()
Returns the response message returned by the remote HTTP server.
|
boolean |
ServerSocket.getReuseAddress() |
int |
ServerSocket.getSoTimeout() |
protected abstract int |
DatagramSocketImpl.getTimeToLive()
Retrieve the TTL (time-to-live) option.
|
int |
MulticastSocket.getTimeToLive() |
protected abstract byte |
DatagramSocketImpl.getTTL() |
byte |
MulticastSocket.getTTL()
deprecated use getTimeToLive
|
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Determines the MIME-type of the resource represented by the input stream
is by reading its first few characters. |
protected void |
ServerSocket.implAccept(Socket s) |
protected abstract void |
DatagramSocketImpl.join(InetAddress inetaddr)
Join the multicast group.
|
void |
MulticastSocket.joinGroup(InetAddress groupAddr) |
protected abstract void |
DatagramSocketImpl.joinGroup(InetAddress inetaddr,
NetworkInterface nw)
Join the multicast group.
|
void |
MulticastSocket.joinGroup(SocketAddress saddr,
NetworkInterface nwInt) |
protected abstract void |
DatagramSocketImpl.leave(InetAddress inetaddr)
Leave the multicast group.
|
void |
MulticastSocket.leaveGroup(InetAddress groupAddr) |
void |
MulticastSocket.leaveGroup(SocketAddress addr,
NetworkInterface nwInt) |
protected abstract void |
SocketImpl.listen(int backlog) |
URLConnection |
URL.openConnection()
Opens a connection to the remote resource specified by this URL.
|
protected abstract URLConnection |
URLStreamHandler.openConnection(URL u)
Establishes a new connection to the resource specified by the URL
u . |
InputStream |
URL.openStream()
Opens an InputStream to read the resource referred by this URL.
|
protected abstract int |
DatagramSocketImpl.peek(InetAddress i)
Peek at the packet to see who it is from.
|
void |
DatagramSocket.receive(DatagramPacket p)
Receives a datagram packet from this socket.
|
protected abstract void |
DatagramSocketImpl.receive(DatagramPacket p)
Receive the datagram packet.
|
void |
DatagramSocket.send(DatagramPacket p)
Sends a datagram packet from this socket.
|
protected abstract void |
DatagramSocketImpl.send(DatagramPacket p)
Sends a datagram packet.
|
void |
MulticastSocket.send(DatagramPacket dgram,
byte ttl) |
void |
Socket.sendUrgentData(int udata) |
protected abstract void |
SocketImpl.sendUrgentData(int udata) |
static void |
DatagramSocket.setDatagramSocketImplFactory(DatagramSocketImplFactory factory) |
void |
ServerSocket.setReuseAddress(boolean on) |
static void |
ServerSocket.setSocketFactory(SocketImplFactory fact) |
static void |
Socket.setSocketImplFactory(SocketImplFactory fact) |
protected abstract void |
DatagramSocketImpl.setTimeToLive(int ttl)
Set the TTL (time-to-live) option.
|
void |
MulticastSocket.setTimeToLive(int ttl) |
protected abstract void |
DatagramSocketImpl.setTTL(byte ttl) |
void |
MulticastSocket.setTTL(byte ttl)
deprecated use setTimeToLive
|
void |
Socket.shutdownInput() |
protected void |
SocketImpl.shutdownInput() |
void |
Socket.shutdownOutput() |
protected void |
SocketImpl.shutdownOutput() |
Constructor and Description |
---|
MulticastSocket() |
MulticastSocket(int port)
a checkListen security check is done.
|
MulticastSocket(SocketAddress addr) |
ServerSocket() |
ServerSocket(int port) |
ServerSocket(int port,
int backlog) |
ServerSocket(int port,
int backlog,
InetAddress local) |
Socket(InetAddress address,
int port) |
Socket(InetAddress host,
int port,
boolean stream)
will always create a Stream Socket ...
|
Socket(InetAddress address,
int port,
InetAddress localAddr,
int localPort) |
Socket(String host,
int port) |
Socket(String host,
int port,
boolean stream)
will always create a Stream Socket ...
|
Socket(String host,
int port,
InetAddress localAddr,
int localPort) |
Modifier and Type | Class and Description |
---|---|
class |
AccessException |
class |
ConnectException |
class |
ConnectIOException |
class |
MarshalException |
class |
NoSuchObjectException |
class |
RemoteException |
class |
ServerError |
class |
ServerException |
class |
ServerRuntimeException |
class |
StubNotFoundException |
class |
UnexpectedException |
class |
UnmarshalException |
Modifier and Type | Method and Description |
---|---|
Object |
MarshalledObject.get() |
Constructor and Description |
---|
MarshalledObject(Object obj) |
Modifier and Type | Class and Description |
---|---|
class |
ActivateFailedException |
Modifier and Type | Class and Description |
---|---|
class |
ExportException |
class |
SkeletonMismatchException |
class |
SkeletonNotFoundException |
class |
SocketSecurityException |
Modifier and Type | Method and Description |
---|---|
ServerSocket |
RMIServerSocketFactory.createServerSocket(int port) |
abstract ServerSocket |
RMISocketFactory.createServerSocket(int port) |
Socket |
RMIClientSocketFactory.createSocket(String host,
int port) |
abstract Socket |
RMISocketFactory.createSocket(String host,
int port) |
void |
RemoteCall.done() |
ObjectInput |
RemoteCall.getInputStream() |
ObjectOutput |
RemoteCall.getOutputStream() |
ObjectOutput |
RemoteCall.getResultStream(boolean success) |
static UID |
UID.read(DataInput in) |
static ObjID |
ObjID.read(ObjectInput in) |
void |
RemoteCall.releaseInputStream() |
void |
RemoteCall.releaseOutputStream() |
static void |
RMISocketFactory.setSocketFactory(RMISocketFactory fac) |
void |
UID.write(DataOutput out) |
void |
ObjID.write(ObjectOutput out) |
Modifier and Type | Method and Description |
---|---|
void |
Certificate.decode(InputStream in)
Deprecated.
|
void |
Certificate.encode(OutputStream out)
Deprecated.
|
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded() |
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded(String format) |
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params) |
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params,
String format) |
abstract void |
KeyStoreSpi.engineLoad(InputStream stream,
char[] password) |
abstract void |
KeyStoreSpi.engineStore(OutputStream stream,
char[] password) |
byte[] |
AlgorithmParameters.getEncoded() |
byte[] |
AlgorithmParameters.getEncoded(String format) |
Object |
SignedObject.getObject() |
void |
AlgorithmParameters.init(byte[] params) |
void |
AlgorithmParameters.init(byte[] params,
String format) |
void |
Provider.load(InputStream inStream) |
void |
KeyStore.load(InputStream stream,
char[] password) |
int |
DigestInputStream.read() |
int |
DigestInputStream.read(byte[] b,
int off,
int len) |
void |
KeyStore.store(OutputStream stream,
char[] password) |
void |
DigestOutputStream.write(byte[] b,
int off,
int len) |
void |
DigestOutputStream.write(int b) |
Constructor and Description |
---|
SignedObject(Serializable object,
PrivateKey pkey,
Signature sign) |
Modifier and Type | Method and Description |
---|---|
void |
X509CRLSelector.addIssuerName(byte[] name)
Add an issuer name to the set of issuer names criteria, as the DER
encoded form.
|
void |
X509CRLSelector.addIssuerName(String name)
Add an issuer name to the set of issuer names criteria, as a
String representation.
|
void |
X509CertSelector.addPathToName(int id,
byte[] name) |
void |
X509CertSelector.addPathToName(int id,
String name) |
void |
X509CertSelector.addSubjectAlternativeName(int id,
byte[] name)
Add a name, as DER-encoded bytes, to the subject alternative names
criterion.
|
void |
X509CertSelector.addSubjectAlternativeName(int id,
String name)
Add a name to the subject alternative names criterion.
|
byte[] |
X509CertSelector.getIssuerAsBytes()
Returns the issuer criterion as a sequence of DER bytes, or
null if this value was not set. |
byte[] |
X509CertSelector.getSubjectAsBytes()
Returns the subject criterion as a sequence of DER bytes, or
null if this value is not set. |
void |
X509CertSelector.setExtendedKeyUsage(Set keyPurposeSet)
Sets the extended key usage criterion, as a set of OID strings.
|
void |
X509CertSelector.setIssuer(byte[] name)
Sets the issuer, specified as the DER encoding of the issuer's
distinguished name.
|
void |
X509CertSelector.setIssuer(String name)
Sets the issuer, specified as a string representation of the issuer's
distinguished name.
|
void |
X509CRLSelector.setIssuerNames(Collection names)
Sets the issuer names criterion.
|
void |
X509CertSelector.setNameConstraints(byte[] nameConstraints)
Sets the name constraints criterion; specify
null to
clear this criterion. |
void |
X509CertSelector.setPathToNames(Collection names) |
void |
X509CertSelector.setPolicy(Set policy) |
void |
X509CertSelector.setSubject(byte[] name)
Sets the subject, specified as the DER encoding of the subject's
distinguished name.
|
void |
X509CertSelector.setSubject(String name)
Sets the subject, specified as a string representation of the
subject's distinguished name.
|
void |
X509CertSelector.setSubjectAlternativeNames(Collection altNames)
Sets the subject alternative names critertion.
|
void |
X509CertSelector.setSubjectPublicKey(byte[] key)
Sets the subject public key criterion as a DER-encoded key.
|
void |
X509CertSelector.setSubjectPublicKeyAlgID(String sigId)
Sets the public key algorithm ID that matching certificates must have.
|
Constructor and Description |
---|
PolicyQualifierInfo(byte[] encoded)
Create a new PolicyQualifierInfo object from the DER encoded form
passed in the byte array.
|
Modifier and Type | Method and Description |
---|---|
void |
Properties.load(InputStream in)
Load from an input stream.
|
void |
Properties.store(OutputStream out,
String header) |
Constructor and Description |
---|
PropertyResourceBundle(InputStream in) |
Modifier and Type | Class and Description |
---|---|
class |
JarException |
Modifier and Type | Method and Description |
---|---|
Attributes |
JarEntry.getAttributes()
Returns the Attributes object associated with this entry or null if none
exists.
|
InputStream |
JarFile.getInputStream(ZipEntry ze)
Return an InputStream for reading the decompressed contents of ze.
|
Manifest |
JarFile.getManifest()
Returns the Manifest object associated with this JarFile or null if no
manifest entry exists.
|
ZipEntry |
JarInputStream.getNextEntry()
Returns the next ZipEntry contained in this stream or null if no more
entries are present.
|
JarEntry |
JarInputStream.getNextJarEntry()
Returns the next JarEntry contained in this stream or null if no more
entries are present.
|
void |
JarOutputStream.putNextEntry(ZipEntry ze) |
int |
JarInputStream.read(byte[] buffer,
int offset,
int length) |
void |
Manifest.read(InputStream is)
Constructs a new Manifest instance obtaining Attribute information from
the parameter InputStream.
|
void |
Manifest.write(OutputStream os)
Writes out the attribute information of the receiver to the specified
OutputStream
|
Constructor and Description |
---|
JarFile(File file)
Create a new JarFile using the contents of file.
|
JarFile(File file,
boolean verify)
Create a new JarFile using the contents of file.
|
JarFile(File file,
boolean verify,
int mode)
Create a new JarFile using the contents of file.
|
JarFile(String filename)
Create a new JarFile from the contents of the file specified by filename.
|
JarFile(String filename,
boolean verify)
Create a new JarFile from the contents of the file specified by filename.
|
JarInputStream(InputStream stream) |
JarInputStream(InputStream stream,
boolean verify)
Constructs a new JarInputStream from stream
|
JarOutputStream(OutputStream child) |
JarOutputStream(OutputStream out,
Manifest man) |
Manifest(InputStream is)
Constructs a new Manifest instance using the attributes obtained from is.
|
Modifier and Type | Class and Description |
---|---|
class |
ZipException |
Modifier and Type | Method and Description |
---|---|
int |
InflaterInputStream.available()
Returns whether data can be read from this stream.
|
int |
ZipInputStream.available() |
void |
DeflaterOutputStream.close() |
void |
GZIPInputStream.close() |
void |
GZIPOutputStream.close() |
void |
InflaterInputStream.close()
Closes the input stream.
|
void |
ZipFile.close() |
void |
ZipInputStream.close() |
void |
ZipOutputStream.close() |
void |
ZipInputStream.closeEntry() |
void |
ZipOutputStream.closeEntry() |
protected void |
DeflaterOutputStream.deflate() |
protected void |
InflaterInputStream.fill()
Fills the input buffer with data to be decompressed.
|
protected void |
ZipFile.finalize() |
void |
DeflaterOutputStream.finish() |
void |
GZIPOutputStream.finish() |
void |
ZipOutputStream.finish() |
InputStream |
ZipFile.getInputStream(ZipEntry ze) |
ZipEntry |
ZipInputStream.getNextEntry() |
void |
ZipOutputStream.putNextEntry(ZipEntry ze)
Prepares the stream to write the data belonging to the ZipEntry passed to this method
DO NOT CHANGE THE ZIPENTRY AFTER PASSING IT TO THIS METHOD, INCONSISTANT DATA WILL BE WRITTEN OUT !
|
int |
CheckedInputStream.read() |
int |
InflaterInputStream.read()
Reads a single byte of decompressed data.
|
int |
CheckedInputStream.read(byte[] buf,
int offset,
int len) |
int |
GZIPInputStream.read(byte[] buffer,
int offset,
int length) |
int |
InflaterInputStream.read(byte[] buffer,
int off,
int nbytes)
Reads up to
nbytes of decompressed data and stores it in
buffer starting at off . |
int |
ZipInputStream.read(byte[] buff,
int offset,
int len)
read will only read bytes in the current Entry ...
|
long |
CheckedInputStream.skip(long n) |
long |
InflaterInputStream.skip(long nbytes)
Skips up to n bytes of uncompressed data.
|
long |
ZipInputStream.skip(long n)
skip will only skip bytes within the current Entry ...
|
void |
CheckedOutputStream.write(byte[] buf,
int offset,
int len) |
void |
DeflaterOutputStream.write(byte[] buffer,
int offset,
int len) |
void |
GZIPOutputStream.write(byte[] buf,
int offset,
int len) |
void |
ZipOutputStream.write(byte[] buf,
int offset,
int len) |
void |
CheckedOutputStream.write(int bval) |
void |
DeflaterOutputStream.write(int bval) |
Constructor and Description |
---|
GZIPInputStream(InputStream instr) |
GZIPInputStream(InputStream instr,
int readsize) |
GZIPOutputStream(OutputStream outst) |
GZIPOutputStream(OutputStream outst,
int readsize) |
ZipFile(File file) |
ZipFile(File file,
int mode) |
ZipFile(String name) |