A B C D E F G I M N R S T V W

A

allBitsSet() - Method in class com.lukasfeiler.util.Int
Returns whether all bits are set.

B

Base64 - class com.lukasfeiler.util.Base64.
Encodes and decodes to and from Base64 notation.
Base64.InputStream - class com.lukasfeiler.util.Base64.InputStream.
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 com.lukasfeiler.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class com.lukasfeiler.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - class com.lukasfeiler.util.Base64.OutputStream.
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 com.lukasfeiler.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class com.lukasfeiler.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

C

close() - Method in class com.lukasfeiler.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
com.lukasfeiler.ipconfig - package com.lukasfeiler.ipconfig
Handling of IPv4 addresses, netmasks and gateways.
com.lukasfeiler.util - package com.lukasfeiler.util
Utility classes.

D

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

E

ENCODE - Static variable in class com.lukasfeiler.util.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class com.lukasfeiler.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class com.lukasfeiler.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class com.lukasfeiler.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class com.lukasfeiler.util.Base64
Encodes a byte array into Base64 notation.
encodeFromFile(String) - Static method in class com.lukasfeiler.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class com.lukasfeiler.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class com.lukasfeiler.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class com.lukasfeiler.util.Base64
Convenience method for encoding data to a file.

F

flushBase64() - Method in class com.lukasfeiler.util.Base64.OutputStream
Method added by PHIL.

G

GZIP - Static variable in class com.lukasfeiler.util.Base64
Specify that data should be gzip-compressed.
getBit(int) - Method in class com.lukasfeiler.util.Int
Returns one of the 32 bits as a boolean value.
getOctet(int) - Method in class com.lukasfeiler.util.Int
Returns one of the 4 octets as a short value.
getOctets() - Method in class com.lukasfeiler.util.Int
Returns the 4 octets of the 32 bit integer as a short array.

I

IPAddress - class com.lukasfeiler.ipconfig.IPAddress.
An IPv4 Address.
IPAddress(String) - Constructor for class com.lukasfeiler.ipconfig.IPAddress
Constructor that takes the IP address in dottet-quad notation as an argument.
IPAddress(int) - Constructor for class com.lukasfeiler.ipconfig.IPAddress
Constructor that takes the IP address as an int value as an argument.
IPAddressHostBitsSetToOneException - exception com.lukasfeiler.ipconfig.IPAddressHostBitsSetToOneException.
Is thrown if all bits of the host part of an IP address are set to 1.
IPAddressHostBitsSetToOneException(String) - Constructor for class com.lukasfeiler.ipconfig.IPAddressHostBitsSetToOneException
 
IPAddressHostBitsSetToZeroException - exception com.lukasfeiler.ipconfig.IPAddressHostBitsSetToZeroException.
Is thrown if all bits of the host part of an IP address are set to 0.
IPAddressHostBitsSetToZeroException(String) - Constructor for class com.lukasfeiler.ipconfig.IPAddressHostBitsSetToZeroException
 
IPAddressesNotInSameSubnetException - exception com.lukasfeiler.ipconfig.IPAddressesNotInSameSubnetException.
Is thrown if two (or more) IP addresses are not in the same subnet.
IPAddressesNotInSameSubnetException(String) - Constructor for class com.lukasfeiler.ipconfig.IPAddressesNotInSameSubnetException
 
IPConfigException - exception com.lukasfeiler.ipconfig.IPConfigException.
Generic exception.
IPConfigException(String) - Constructor for class com.lukasfeiler.ipconfig.IPConfigException
 
Int - class com.lukasfeiler.util.Int.
A 32 Bit Integer.
Int(String) - Constructor for class com.lukasfeiler.util.Int
Constructor that takes the integer in dottet-quad notation as an argument.
Int(int) - Constructor for class com.lukasfeiler.util.Int
Constructor that takes an int value as an argument.
InvalidIntOctetException - exception com.lukasfeiler.util.InvalidIntOctetException.
Is thrown by Int if an octet is invalid (not withing the range of 0 and 255)
InvalidIntOctetException(String) - Constructor for class com.lukasfeiler.util.InvalidIntOctetException
 
intValue() - Method in class com.lukasfeiler.util.Int
Returns the int value of this instance.

M

main(String[]) - Static method in class com.lukasfeiler.ipconfig.NetworkInterfaceConfiguration
Command line interface.
matchesNetmask(Netmask) - Method in class com.lukasfeiler.ipconfig.IPAddress
Returns whether this IP address matches the netmask passad as argument.

N

NO_OPTIONS - Static variable in class com.lukasfeiler.util.Base64
No options specified.
Netmask - class com.lukasfeiler.ipconfig.Netmask.
An IPv4 Netmask.
Netmask(String) - Constructor for class com.lukasfeiler.ipconfig.Netmask
Constructor that takes the netmask in dottet-quad notation as an argument.
Netmask(int) - Constructor for class com.lukasfeiler.ipconfig.Netmask
Constructor that takes the netmask as an int value as an argument.
NetworkInterfaceConfiguration - class com.lukasfeiler.ipconfig.NetworkInterfaceConfiguration.
A network interface configuration with IP address, netmask and default gateway.
NetworkInterfaceConfiguration(IPAddress, Netmask, IPAddress) - Constructor for class com.lukasfeiler.ipconfig.NetworkInterfaceConfiguration
Constructor that takes the IP address, netmask and gateway as arguments.
NetworkInterfaceConfiguration(String, String, String) - Constructor for class com.lukasfeiler.ipconfig.NetworkInterfaceConfiguration
Constructor that takes the IP address, netmask and gateway in the dotted-quad notation as arguments.
NonContiniousNetmaskException - exception com.lukasfeiler.ipconfig.NonContiniousNetmaskException.
Is thrown if a netmask is not continious - i.e. the netmask does not consist of a number of 1s followed by a number of 0s.
NonContiniousNetmaskException(String) - Constructor for class com.lukasfeiler.ipconfig.NonContiniousNetmaskException
 

R

read() - Method in class com.lukasfeiler.util.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 com.lukasfeiler.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
resumeEncoding() - Method in class com.lukasfeiler.util.Base64.OutputStream
Resumes encoding of the stream.

S

suspendEncoding() - Method in class com.lukasfeiler.util.Base64.OutputStream
Suspends encoding of the stream.

T

toBitString() - Method in class com.lukasfeiler.util.Int
Returns all the bits of this integer as a string (e.g. 11000000101010000000000100001010 for -1062731510).
toString() - Method in class com.lukasfeiler.ipconfig.IPConfigException
Returns a string in the format : .
toString() - Method in class com.lukasfeiler.util.Int
Returns the integer in the dottet-quad notation (e.g. 192.168.1.10).

V

validate(IPAddress, IPAddress) - Method in class com.lukasfeiler.ipconfig.Netmask
Throws an IPAddressesNotInSameSubnetException if the two IP addresses are not in the same subnet specified by this netmask.
validate() - Method in class com.lukasfeiler.ipconfig.Netmask
Throws a NonContiniousNetmaskException if this netmask is not valid (is not continious)
validate() - Method in class com.lukasfeiler.ipconfig.NetworkInterfaceConfiguration
Throws an IPConfigException if the configuration is invalid.

W

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

A B C D E F G I M N R S T V W