A B C D E F G H L M N O P R S T U V W

A

add(T) - Method in class org.indi.objects.Vector
 
addDouble(double) - Method in class org.indi.objects.Number
add a double to the current value

B

BadValueException - Exception in org.indi.objects
Thrown if the value attribute of an indiobjects.Vector is not supported by the particular kind (subclass).
BadValueException(String) - Constructor for exception org.indi.objects.BadValueException
class constructor
Base64 - Class in org.indi.server
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.indi.server
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class org.indi.server.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.indi.server.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.indi.server
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class org.indi.server.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.indi.server.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
Blob - Class in org.indi.objects
a BLOB (binary large object) as transferred by the indi protocol
Blob(String, String) - Constructor for class org.indi.objects.Blob
class constuctor
Blob(String, String, long, String) - Constructor for class org.indi.objects.Blob
class constructor
BlobVector - Class in org.indi.objects
A indiobjects.Vector of indiobjects.Blob objects
BlobVector(String, String, String) - Constructor for class org.indi.objects.BlobVector
class constructor
BlobVector(String, String, String, String, State, Permission, double, String, String) - Constructor for class org.indi.objects.BlobVector
class constructor
BlobVector(String, String, String, String, State, Permission, double) - Constructor for class org.indi.objects.BlobVector
class constructor
BlobVector(String, String, State, double, String, String) - Constructor for class org.indi.objects.BlobVector
class constructor

C

children - Variable in class org.indi.objects.Object
 
close() - Method in class org.indi.server.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.

D

DECODE - Static variable in class org.indi.server.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class org.indi.server.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.indi.server.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.indi.server.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class org.indi.server.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.indi.server.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.indi.server.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.indi.server.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
device - Variable in class org.indi.objects.Vector
 
DONT_BREAK_LINES - Static variable in class org.indi.server.Base64
Don't break lines when encoding (violates strict Base64 specification)

E

Element - Class in org.indi.objects
A class representing a single indielement to be accomodated by an indivector
Element(String, String, String) - Constructor for class org.indi.objects.Element
class constructor
ENCODE - Static variable in class org.indi.server.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class org.indi.server.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.indi.server.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.indi.server.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.indi.server.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class org.indi.server.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.indi.server.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.indi.server.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.indi.server.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.indi.server.Base64
Convenience method for encoding data to a file.
equals(Object) - Method in class org.indi.objects.Object
 

F

flushBase64() - Method in class org.indi.server.Base64.OutputStream
Method added by PHIL.
format - Variable in class org.indi.objects.Blob
the format of the BLOB usually the extension of a file format
fromString(String) - Static method in enum org.indi.objects.Permission
Generate a Permission constant from a string used by the indi protocol

G

getChildren() - Method in class org.indi.objects.Object
 
getChlidren() - Method in class org.indi.objects.Vector
 
getDateFormat() - Method in class org.indi.objects.Vector
 
getDevice() - Method in class org.indi.objects.Message
 
getDevice() - Method in class org.indi.objects.Vector
 
getDouble() - Method in class org.indi.objects.Number
return the value of the number as double
getEndTag(TransferType) - Method in class org.indi.objects.Element
Get the closing XML tag for the element
getEndTag(TransferType) - Method in class org.indi.objects.Vector
 
getGroup() - Method in class org.indi.objects.Vector
 
getMessage() - Method in class org.indi.objects.Object
 
getName() - Method in class org.indi.objects.Element
 
getName() - Method in class org.indi.objects.Vector
 
getStartTag(TransferType) - Method in class org.indi.objects.Blob
 
getStartTag(TransferType) - Method in class org.indi.objects.Element
Get the opening XML tag for the element
getStartTag(TransferType) - Method in class org.indi.objects.Number
 
getStartTag(TransferType, String) - Method in class org.indi.objects.SwitchVector
 
getStartTag(TransferType, String) - Method in class org.indi.objects.Vector
 
getState() - Method in class org.indi.objects.Light
 
getState() - Method in class org.indi.objects.Switch
 
getState() - Method in class org.indi.objects.Vector
 
getSwitchRule() - Method in class org.indi.objects.SwitchVector
 
getTransferType() - Method in class org.indi.objects.Object
 
getType() - Method in class org.indi.objects.Blob
 
getType() - Method in class org.indi.objects.BlobVector
 
getType() - Method in class org.indi.objects.Element
 
getType() - Method in class org.indi.objects.Light
 
getType() - Method in class org.indi.objects.LightVector
 
getType() - Method in class org.indi.objects.Number
 
getType() - Method in class org.indi.objects.NumberVector
 
getType() - Method in class org.indi.objects.Switch
 
getType() - Method in class org.indi.objects.SwitchVector
 
getType() - Method in class org.indi.objects.Text
 
getType() - Method in class org.indi.objects.TextVector
 
getType() - Method in class org.indi.objects.Vector
 
getValue(TransferType) - Method in class org.indi.objects.Blob
 
getValue(TransferType) - Method in class org.indi.objects.Element
get the value of the indielement
getXML(TransferType) - Method in class org.indi.objects.Element
 
getXML(TransferType, String) - Method in class org.indi.objects.Message
 
getXML(TransferType, String) - Method in class org.indi.objects.Object
return an XML representation of this object
getXML(TransferType, String) - Method in class org.indi.objects.Vector
 
getXML(TransferType) - Method in class org.indi.objects.Vector
 
group - Variable in class org.indi.objects.Vector
 
GZIP - Static variable in class org.indi.server.Base64
Specify that data should be gzip-compressed.

H

hashCode() - Method in class org.indi.objects.Element
 
hashCode() - Method in class org.indi.objects.Message
 
hashCode() - Method in class org.indi.objects.Object
 
hashCode() - Method in class org.indi.objects.Vector
 

L

label - Variable in class org.indi.objects.Element
the label of the indielement to be uses in a GUI
label - Variable in class org.indi.objects.Vector
 
Light - Class in org.indi.objects
An implementation of the light element as defined by the indi standard
Light(String, String, State) - Constructor for class org.indi.objects.Light
class constuctor
Light(String, String) - Constructor for class org.indi.objects.Light
class constuctor
LightVector - Class in org.indi.objects
An indi vector hosting indi lights
LightVector(String, String, String) - Constructor for class org.indi.objects.LightVector
class constructor
LightVector(String, String, String, String, State, Permission, double, String, String) - Constructor for class org.indi.objects.LightVector
class constructor
LightVector(String, String, State, double, String, String) - Constructor for class org.indi.objects.LightVector
class constructor

M

main(String[]) - Static method in class org.indi.server.Base64
Encodes or decodes two files from the command line; feel free to delete this method (in fact you probably should) if you're embedding this code into a larger program.
Message - Class in org.indi.objects
A class repersenting a single indi message
Message(String) - Constructor for class org.indi.objects.Message
class constructor
message - Variable in class org.indi.objects.Object
the message associated with this object

N

name - Variable in class org.indi.objects.Element
the name of the indielement to identify it uniquely
name - Variable in class org.indi.objects.Vector
 
NO_OPTIONS - Static variable in class org.indi.server.Base64
No options specified.
Number - Class in org.indi.objects
A single indi number
Number(String, String, String, double, double, double, double) - Constructor for class org.indi.objects.Number
class constructor
Number(String, String) - Constructor for class org.indi.objects.Number
class constructor
NumberVector - Class in org.indi.objects
a indi vector hosting some indi numbers
NumberVector(String, String, String) - Constructor for class org.indi.objects.NumberVector
class constructor
NumberVector(String, String, String, String, State, Permission, double, String, String) - Constructor for class org.indi.objects.NumberVector
class constructor
NumberVector(String, String, String, String, State, Permission, double) - Constructor for class org.indi.objects.NumberVector
class constructor
NumberVector(String, String, State, double, String, String) - Constructor for class org.indi.objects.NumberVector
class constructor

O

Object<T extends Object> - Class in org.indi.objects
the based class of a indi objects.
oEquals(Object) - Method in class org.indi.objects.Element
 
oEquals(Object) - Method in class org.indi.objects.Message
 
oEquals(Object) - Method in class org.indi.objects.Object
Check the equality with an other object, exculding subobject.
oEquals(Object) - Method in class org.indi.objects.Vector
 
ORDERED - Static variable in class org.indi.server.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.indi.objects - package org.indi.objects
 
org.indi.server - package org.indi.server
 

P

Permission - Enum in org.indi.objects
Constants describing the read/write permission given to the user of a particular indi vector
permission - Variable in class org.indi.objects.Vector
 
permissionToString(Permission) - Static method in class org.indi.objects.Vector
 

R

read() - Method in class org.indi.server.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class org.indi.server.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
resumeEncoding() - Method in class org.indi.server.Base64.OutputStream
Resumes encoding of the stream.

S

setDouble(double) - Method in class org.indi.objects.Number
set the value of the number by a double
setState(Switch.State) - Method in class org.indi.objects.Switch
set the state of the switch
setState(State) - Method in class org.indi.objects.Vector
 
setTransferType(TransferType) - Method in class org.indi.objects.Object
the the transfertype of this object
setValue(String, String) - Method in class org.indi.objects.Blob
Set the data to be tranferred by the BLOB
setValue(File) - Method in class org.indi.objects.Blob
Set the data to be transferred using a given file as input
setValue(InputStream, String) - Method in class org.indi.objects.Blob
 
setValue(String) - Method in class org.indi.objects.Blob
Set the data to be tranferred by the BLOB (format is set to the empty string)
setValue(String) - Method in class org.indi.objects.Element
set the value of the indielement
size - Variable in class org.indi.objects.Blob
the length of the BLOB in bytes
State - Enum in org.indi.objects
Constants descibing the state of indilights as well as indivectors
state - Variable in class org.indi.objects.Vector
 
stateToString(State) - Static method in class org.indi.objects.Light
converts a state object to its string reprentation
subtractDouble(double) - Method in class org.indi.objects.Number
subtract a double from the current value
suspendEncoding() - Method in class org.indi.server.Base64.OutputStream
Suspends encoding of the stream.
Switch - Class in org.indi.objects
An object representing a single indi switch
Switch(String, String, Switch.State) - Constructor for class org.indi.objects.Switch
class constructor
Switch(String, String) - Constructor for class org.indi.objects.Switch
 
Switch(String, String, String) - Constructor for class org.indi.objects.Switch
class constructor
Switch.State - Enum in org.indi.objects
the state of the switch
SwitchRule - Enum in org.indi.objects
A rule descibing how may switches in a switch vector can be set to On at the same time.
switchRuleToString(SwitchRule) - Static method in class org.indi.objects.SwitchVector
convert a switch rule to a string as used by the indi protocol
SwitchVector - Class in org.indi.objects
A indivector hosting indiswitches
SwitchVector(String, String, String) - Constructor for class org.indi.objects.SwitchVector
class constructor
SwitchVector(String, String, String, String, State, Permission, double, String, SwitchRule, String) - Constructor for class org.indi.objects.SwitchVector
class constructor
SwitchVector(String, String, State, double, String, String) - Constructor for class org.indi.objects.SwitchVector
class constructor
SwitchVector(String, String, String, String, State, Permission, SwitchRule, double) - Constructor for class org.indi.objects.SwitchVector
class constructor

T

Text - Class in org.indi.objects
a indi object representing a singe text
Text(String, String, String) - Constructor for class org.indi.objects.Text
class constructor
Text(String, String) - Constructor for class org.indi.objects.Text
class constructor
TextVector - Class in org.indi.objects
A vector hosting indi Text objects
TextVector(String, String, String) - Constructor for class org.indi.objects.TextVector
class constructor
TextVector(String, String, String, String, State, Permission, double, String, String) - Constructor for class org.indi.objects.TextVector
class constructor
TextVector(String, String, State, double, String, String) - Constructor for class org.indi.objects.TextVector
class constructor
timeout - Variable in class org.indi.objects.Vector
 
timestamp - Variable in class org.indi.objects.Vector
 
transferType - Variable in class org.indi.objects.Object
the transfertype used to transfer this object
TransferType - Enum in org.indi.objects
the transfertype of an indiobject.
treeEquals(Object) - Method in class org.indi.objects.Object
 

U

update(Vector<T>) - Method in class org.indi.objects.Vector
 
URL_SAFE - Static variable in class org.indi.server.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.

V

value - Variable in class org.indi.objects.Element
the value of the indielement
valueOf(String) - Static method in enum org.indi.objects.Permission
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.indi.objects.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.indi.objects.Switch.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.indi.objects.SwitchRule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.indi.objects.TransferType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.indi.objects.Permission
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.indi.objects.State
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.indi.objects.Switch.State
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.indi.objects.SwitchRule
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.indi.objects.TransferType
Returns an array containing the constants of this enum type, in the order they're declared.
Vector<T extends Element> - Class in org.indi.objects
 
Vector(String, String, String) - Constructor for class org.indi.objects.Vector
 
Vector(String, String, String, String, State, Permission, double, String, String) - Constructor for class org.indi.objects.Vector
 
Vector(String, String, State, double, String, String) - Constructor for class org.indi.objects.Vector
 

W

write(int) - Method in class org.indi.server.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.indi.server.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.

A B C D E F G H L M N O P R S T U V W

Copyright © 2008. All Rights Reserved.