C D G I M O P R S Y

C

CRCException - exception org.yenc.CRCException.
Thrown to indicate a CRC mismatch.
CRCException(String) - Constructor for class org.yenc.CRCException
 

D

debugMessages() - Method in class org.yenc.YEncDecoder
Returns if debug messages are enabled or not.
debugMessages(boolean) - Method in class org.yenc.YEncDecoder
Enables or disables debugging messages to System.out.
decode() - Method in class org.yenc.YEncDecoder
Read encoded data from the stream set with setInputStream and writes decoded data to the stream set with setOutputStream.
decodeNext() - Method in class org.yenc.YEncDecoder
Decodes the next character.

G

getFileName() - Method in class org.yenc.YEncDecoder
Returns the filename set in the header.
getHeaderName() - Method in class org.yenc.MissingParameterException
Returns the header to which the parameter belongs to.
getLineNumber() - Method in class org.yenc.YEncDecoder
Returns the actual line number.
getParameterName() - Method in class org.yenc.MissingParameterException
Returns the missing parameter name.
getPartBegin() - Method in class org.yenc.YEncDecoder
Returns the beginning offset of the current part.
getPartEnd() - Method in class org.yenc.YEncDecoder
Returns the ending offset of the current part.
getPartNumber() - Method in class org.yenc.YEncDecoder
Returns the current part number set in the header.
getProperty(String) - Method in class org.yenc.YEncDecoder
 
getSize() - Method in class org.yenc.YEncDecoder
Returns the file size set in the header.
getTotalParts() - Method in class org.yenc.YEncDecoder
Returns the total parts number set in the header.

I

InvalidParameterException - exception org.yenc.InvalidParameterException.
Thrown to indicate that a parameter's value is invalid.
InvalidParameterException(String) - Constructor for class org.yenc.InvalidParameterException
 
isMultiPart() - Method in class org.yenc.YEncDecoder
Returns true if the current input stream is a multipart archive.

M

main(String[]) - Static method in class org.yenc.ydecode
 
MAX_LENGTH - Variable in class org.yenc.YEncDecoder
Maximum line length allowed
MissingParameterException - exception org.yenc.MissingParameterException.
Thrown to indicate that a header had a missing parameter.
MissingParameterException(String, String) - Constructor for class org.yenc.MissingParameterException
Constructs a MissingParameterException with a default message.
MissingParameterException(String, String, String) - Constructor for class org.yenc.MissingParameterException
Constructs a MissingParameterException with the specified detail message.
MissingPartsException - exception org.yenc.MissingPartsException.
Thrown to indicate that some parts of a multipart archive are missing.
MissingPartsException(String) - Constructor for class org.yenc.MissingPartsException
 

O

org.yenc - package org.yenc
 

P

processHeader(StringTokenizer) - Method in class org.yenc.YEncDecoder
 
processHeaderArg(StringTokenizer) - Method in class org.yenc.YEncDecoder
Process the next parameter from the header.
processPart(StringTokenizer) - Method in class org.yenc.YEncDecoder
 
processPartArg() - Method in class org.yenc.YEncDecoder
Process the next parameter from the part header.
processTrailer(StringTokenizer) - Method in class org.yenc.YEncDecoder
 
processTrailerArg() - Method in class org.yenc.YEncDecoder
Process the next parameter from the trailer.

R

readNextLine(boolean) - Method in class org.yenc.YEncDecoder
Reads the next line from the input stream.
reset() - Method in class org.yenc.YEncDecoder
Resets the instance internal state.
reset(boolean) - Method in class org.yenc.YEncDecoder
Resets the instance internal state.

S

setInputStream(InputStream) - Method in class org.yenc.YEncDecoder
Sets the input stream from which encoded data is read.
setInputStream(InputStream, boolean) - Method in class org.yenc.YEncDecoder
Sets the input stream from which encoded data is read.
setOutputStream(OutputStream) - Method in class org.yenc.YEncDecoder
Sets the input stream to which decoded data is written.
SizeException - exception org.yenc.SizeException.
Thrown to indicate a difference in the expected file size.
SizeException(String) - Constructor for class org.yenc.SizeException
 
sortFiles(YEncDecoder, String[]) - Method in class org.yenc.ydecode
Sample code on how to decode multipart files.
strToInt(String, String) - Method in class org.yenc.YEncDecoder
Converts the string s to an Integer.
strToLong(String, int, String) - Method in class org.yenc.YEncDecoder
Converts the string s to a Long in the specified radix.
strToLong(String, String) - Method in class org.yenc.YEncDecoder
Calls strToLong() with radix equal to 10.

Y

ydecode - class org.yenc.ydecode.
Decodifies files passed as command line arguments.
ydecode() - Constructor for class org.yenc.ydecode
 
YEncDecoder - class org.yenc.YEncDecoder.
Decodes data encoded with yEnc (http://www.yencode.org).
YEncDecoder() - Constructor for class org.yenc.YEncDecoder
Creates a new instance which can read lines up to 1024 characters of length.
YEncDecoder(int) - Constructor for class org.yenc.YEncDecoder
Creates a new instance which can read lines up to maxlength characters of length.
YEncException - exception org.yenc.YEncException.
Thrown to indicate an error in the encoded data.
YEncException(String) - Constructor for class org.yenc.YEncException
 

C D G I M O P R S Y