- B_ALPHAS - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as an alpha.
- B_DIGITS - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as a digit.
- B_FRAGMENT - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as FRAGMENT in RFC3986.
- B_GEN_DELIMS - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as GEN-DELIMS in RFC3986.
- B_PATH - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as PATH in RFC3986.
- B_PCHAR - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as PCHAR in RFC3986.
- B_QUERY - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as QUERY in RFC3986.
- B_REGNAME - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as REGNAME in RFC3986.
- B_RESERVED - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as RESERVED in RFC3986.
- B_SCHEME_FIRST - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as first in scheme.
- B_SCHEME_FOLLOW - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as following in scheme.
- B_SEGMENT - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as SEGMENT in RFC3986.
- B_SEGMENT_NZ - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as SEGMENT-NZ in RFC3986.
- B_SEGMENT_NZ_NC - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as SEGMENT-NZ-NC in RFC3986.
- B_SUB_DELIMS - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as SUB-DELIMS in RFC3986.
- B_UNRESERVED - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as UNRESERVED in RFC3986.
- B_USERINFO - Static variable in class org.jwat.common.UriProfile
-
Bit to categorize a char as USERINFO in RFC3986.
- bAbsolute - Variable in class org.jwat.common.Uri
-
Boolean indicating whether this URI is absolute.
- baios - Variable in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
Owning ByteArrayIOStream.
- baios - Variable in class org.jwat.common.ByteArrayIOStream.OutputStreamImpl
-
Owning ByteArrayIOStream.
- bAllow16bitPercentEncoding - Variable in class org.jwat.common.UriProfile
-
Does profile allow 16-bit percent encoding.
- bAllowInvalidPercentEncoding - Variable in class org.jwat.common.UriProfile
-
Does profile allow invalid percent encoding.
- bAllowRelativeUris - Variable in class org.jwat.common.UriProfile
-
Does profile allow relative URIs.
- Base16 - Class in org.jwat.common
-
Base16 encoder/decoder implementation based on the specifications in
rfc3548.
- Base16() - Constructor for class org.jwat.common.Base16
-
Static class.
- Base2 - Class in org.jwat.common
-
Base2 encoder/decoder implementation.
- Base2() - Constructor for class org.jwat.common.Base2
-
Static class.
- Base32 - Class in org.jwat.common
-
Base32 encoder/decoder implementation based on the specifications in
rfc3548.
- Base32() - Constructor for class org.jwat.common.Base32
-
Static class.
- Base64 - Class in org.jwat.common
-
Base64 encoder/decoder implementation based on the specifications in
rfc2045/rfc3548.
- Base64() - Constructor for class org.jwat.common.Base64
-
Static class.
- bClosed - Variable in class org.jwat.common.Payload
-
Has record been closed before.
- bClosed - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Has record been closed before.
- bConversionError - Variable in class org.jwat.common.EncodedWords
-
Indicates whether there were errors during character conversion.
- bCr - Variable in class org.jwat.common.HeaderLineReader
-
True if the previous character was a CR.
- bEncodedWords - Variable in class org.jwat.common.HeaderLineReader
-
Support encoded words.
- bEof - Variable in class org.jwat.common.HeaderLineReader
-
Boolean indicating whether or not EOF has been reached on stream.
- bf - Static variable in class org.jwat.common.Scheme
-
Bit field used to identify valid first/follow characters.
- bfErrors - Variable in class org.jwat.common.HeaderLine
-
Bit field of errors encountered while attempting to read a line.
- bfErrors - Variable in class org.jwat.common.HeaderLineReader
-
Bit field of errors encountered while attempting to read a line.
- bIsValid - Variable in class org.jwat.common.EncodedWords
-
Indicates where the encoded words could be validated and decoded.
- bIsValid - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Could the header be validated.
- bLWS - Variable in class org.jwat.common.HeaderLineReader
-
Support LWS.
- bMisplacedCr - Variable in class org.jwat.common.NewlineParser
-
Did the reader detect a misplaced CR while parsing newlines.
- bMisplacedLf - Variable in class org.jwat.common.NewlineParser
-
Did the reader detect a misplaced LF while parsing newlines.
- bMissingCr - Variable in class org.jwat.common.NewlineParser
-
Did the reader detect a missing CR while parsing newlines.
- bMissingLf - Variable in class org.jwat.common.NewlineParser
-
Did the reader detect a missing LF while parsing newlines.
- bNameValue - Variable in class org.jwat.common.HeaderLineReader
-
Parses a headerline if true and a normal line if false.
- bNoSuchAlgorithmException - Variable in class org.jwat.common.Payload
-
Boolean indicating no such algorithm exception under initialization.
- bNoSuchAlgorithmException - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Boolean indicating no such algorithm exception under initialization.
- bOpaque - Variable in class org.jwat.common.Uri
-
Boolean indicating whether this URI is opaque, @see #isOpaque()
- bQuotedText - Variable in class org.jwat.common.HeaderLineReader
-
Support quoted text.
- bValidChar - Variable in class org.jwat.common.HeaderLineReader
-
Used by decode method to indicated valid or non valid character.
- bValidChar - Variable in class org.jwat.common.UTF8
-
UTF-8 validity status on last read character.
- bValidCharset - Variable in class org.jwat.common.EncodedWords
-
Indicates whether the charset is valid or not.
- ByteArrayIOStream - Class in org.jwat.common
-
Simple class to allow the use of an in-memory buffer as an alternate input or output stream.
- ByteArrayIOStream() - Constructor for class org.jwat.common.ByteArrayIOStream
-
Construct object with default buffer size.
- ByteArrayIOStream(int) - Constructor for class org.jwat.common.ByteArrayIOStream
-
Construct object with supplied buffer size.
- ByteArrayIOStream.InputStreamImpl - Class in org.jwat.common
-
Byte array InputStream.
- ByteArrayIOStream.OutputStreamImpl - Class in org.jwat.common
-
Byte array OutputStream.
- ByteArrayOutputStreamWithUnread - Class in org.jwat.common
-
A ByteArrayOutputStream with unread capability.
- ByteArrayOutputStreamWithUnread() - Constructor for class org.jwat.common.ByteArrayOutputStreamWithUnread
-
Construct an object without specifying an buffer size.
- ByteArrayOutputStreamWithUnread(int) - Constructor for class org.jwat.common.ByteArrayOutputStreamWithUnread
-
Construct an object with the specifying buffer size.
- byteBuffer - Variable in class org.jwat.common.ByteArrayIOStream
-
Internal ByteBuffer wrapper of internal byte array.
- byteBuffer - Variable in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
ByteArrayIOStream's ByteBuffer.
- byteBuffer - Variable in class org.jwat.common.ByteArrayIOStream.OutputStreamImpl
-
ByteArrayIOStream's ByteBuffer.
- ByteCountingInputStream - Class in org.jwat.common
-
InputStream that keeps tracks of the number of consumed bytes
at any given time.
- ByteCountingInputStream(InputStream) - Constructor for class org.jwat.common.ByteCountingInputStream
-
Constructs an InputStream that counts the bytes
as it reads them.
- ByteCountingPushBackInputStream - Class in org.jwat.common
-
Basic PushBackInputStream that also keeps track of the number
of consumed bytes at any given time.
- ByteCountingPushBackInputStream(InputStream, int) - Constructor for class org.jwat.common.ByteCountingPushBackInputStream
-
Given an InputStream and a push back buffer size returns
a wrapped input stream with push back capabilities.
- bytes - Variable in class org.jwat.common.ByteArrayIOStream
-
Internal byte array.
- bytesOut - Variable in class org.jwat.common.HeaderLineReader
-
Stream used to record the raw characters read by the parser.
- CASE_INSENSITIVE - Static variable in class org.jwat.common.ArrayUtils
-
Case insensitive array where [i] == toLowerCase(i).
- CASE_SENSITIVE - Static variable in class org.jwat.common.ArrayUtils
-
Case sensitive array where [i] == i.
- CC_CONTROL - Static variable in class org.jwat.common.ContentType
-
Control character characteristic.
- CC_CONTROL - Static variable in class org.jwat.common.EncodedWords
-
Control character characteristic.
- CC_CONTROL - Static variable in class org.jwat.common.HeaderLineReader
-
Control character characteristic.
- CC_SEPARATOR_WS - Static variable in class org.jwat.common.ContentType
-
Separator character characteristic.
- CC_SEPARATOR_WS - Static variable in class org.jwat.common.EncodedWords
-
Separator character characteristic.
- CC_SEPARATOR_WS - Static variable in class org.jwat.common.HeaderLineReader
-
Separator character characteristic.
- charCharacteristicsTab - Static variable in class org.jwat.common.ContentType
-
Table of separator and control characters.
- charCharacteristicsTab - Static variable in class org.jwat.common.EncodedWords
-
Table of separator and control characters.
- charCharacteristicsTab - Static variable in class org.jwat.common.HeaderLineReader
-
Table of separator characters.
- CharCountingStringReader - Class in org.jwat.common
-
StringReader that keeps tracks of the number of consumed chars
at any given time.
- CharCountingStringReader(String) - Constructor for class org.jwat.common.CharCountingStringReader
-
Creates a new StringReader that keeps track of
consumed characters.
- chars_read - Variable in class org.jwat.common.UTF8
-
Bytes read in the decoding process.
- charsetStr - Variable in class org.jwat.common.EncodedWords
-
Raw charset name.
- charTypeAddAndOr(String, int, int) - Method in class org.jwat.common.UriProfile
-
Helper method to populate the profiles integer array with character
categories.
- charTypeAddAndOr(int[], String, int, int) - Static method in class org.jwat.common.UriProfile
-
Helper method to populate an integer array with character categories.
- charTypeMap - Variable in class org.jwat.common.UriProfile
-
Array of integers used to categorize all 8bit chars.
- check_eol() - Method in class org.jwat.common.HeaderLineReader
-
Check and report whether the line ended as expected.
- close() - Method in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
- close() - Method in class org.jwat.common.ByteArrayIOStream.OutputStreamImpl
-
- close() - Method in class org.jwat.common.FixedLengthInputStream
-
Closing will only skip to the end of this fixed length input stream and
not call the parent's close method.
- close() - Method in class org.jwat.common.MaxLengthRecordingInputStream
-
Closing will only close the recording and not call the parent's close
method.
- close() - Method in class org.jwat.common.Payload
-
Closes the this payload stream, skipping unread bytes in the process.
- close() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Closes the this payload stream, skipping unread bytes in the process.
- close() - Method in class org.jwat.common.RandomAccessFileInputStream
-
Closing this stream has no effect.
- close() - Method in class org.jwat.common.RandomAccessFileOutputStream
-
Closing this stream has no effect.
- compareTo(Uri) - Method in class org.jwat.common.Uri
-
- consumed - Variable in class org.jwat.common.ByteCountingInputStream
-
Offset relative to beginning of stream.
- consumed - Variable in class org.jwat.common.ByteCountingPushBackInputStream
-
Offset relative to beginning of stream.
- consumed - Variable in class org.jwat.common.CharCountingStringReader
-
Number of consumed bytes since the beginning of the stream.
- CONTENT_TYPE - Static variable in class org.jwat.common.HttpHeader
-
Content-type header name.
- ContentType - Class in org.jwat.common
-
This class represents a content-type string parsed, validated and decomposed
into its separate components.
- ContentType() - Constructor for class org.jwat.common.ContentType
-
- contentType - Variable in class org.jwat.common.ContentType
-
Parsed Content-type.
- contentType - Variable in class org.jwat.common.HttpHeader
-
HTTP content Content-type.
- counter - Variable in class org.jwat.common.ByteCountingInputStream
-
Byte counter which can also be changed.
- counter - Variable in class org.jwat.common.ByteCountingPushBackInputStream
-
Byte counter which can also be changed.
- counter - Variable in class org.jwat.common.CharCountingStringReader
-
Byte counter which can also be changed.
- create(String) - Static method in class org.jwat.common.Uri
-
Creates a URI by parsing the given string using the default RFC3986
profile.
- create(String, UriProfile) - Static method in class org.jwat.common.Uri
-
Creates a URI by parsing the given string using the requested profile.
- CRLF - Static variable in class org.jwat.common.ANVLRecord
-
- decode(int, InputStream) - Method in class org.jwat.common.HeaderLineReader
-
Decode a character according to the expected encoding.
- decode(byte[], String) - Method in class org.jwat.common.ISO8859_1
-
Converts a byte array to a string removing invalid characters in the
process and returning the validity status.
- decode(String) - Static method in class org.jwat.common.QuotedPrintable
-
Returns a decoded Quoted-Printable string or null if it is not valid.
- decoded - Variable in class org.jwat.common.ISO8859_1
-
Decode byte array after call to decode method.
- decoded_text - Variable in class org.jwat.common.EncodedWords
-
Decoded text, after decoding and character conversion.
- decodeTab - Static variable in class org.jwat.common.Base16
-
Table used to decode.
- decodeTab - Static variable in class org.jwat.common.Base2
-
Table used to decode.
- decodeTab - Static variable in class org.jwat.common.Base32
-
Table used to decode.
- decodeTab - Static variable in class org.jwat.common.Base64
-
Table used to decode.
- decodeToArray(String) - Static method in class org.jwat.common.Base16
-
Decodes an encoded string.
- decodeToArray(String) - Static method in class org.jwat.common.Base2
-
Decodes an encoded string.
- decodeToArray(String, boolean) - Static method in class org.jwat.common.Base32
-
Decodes an encoded string.
- decodeToArray(String, boolean) - Static method in class org.jwat.common.Base64
-
Decodes an encoded string.
- decodeToString(String) - Static method in class org.jwat.common.Base16
-
Decodes an encoded string.
- decodeToString(String) - Static method in class org.jwat.common.Base2
-
Decodes an encoded string.
- decodeToString(String, boolean) - Static method in class org.jwat.common.Base32
-
Decodes an encoded string.
- decodeToString(String, boolean) - Static method in class org.jwat.common.Base64
-
Decodes an encoded string.
- DEFAULT_BUFFER_SIZE - Static variable in class org.jwat.common.ByteArrayIOStream
-
Default buffer size if none specified.
- defaultCharTypeMap - Static variable in class org.jwat.common.UriProfile
-
Default array of integers used to categorize all 8bit chars.
- delimit(String, int, char) - Static method in class org.jwat.common.Base2
-
Insert regular delimiters in a string.
- Diagnosis - Class in org.jwat.common
-
Class representing a diagnosis which was found while validating an entity.
- Diagnosis(DiagnosisType, String, String...) - Constructor for class org.jwat.common.Diagnosis
-
Construct a diagnosis instance given the type, entity and optional
information.
- DiagnosisType - Enum in org.jwat.common
-
Class defining different diagnosis types used for reporting problems.
- Diagnostics - Class in org.jwat.common
-
Class used to keep track of a collection of error and warning diagnosis objects.
- Diagnostics() - Constructor for class org.jwat.common.Diagnostics
-
- diagnostics - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Validation errors and warnings.
- DiagnosticsGeneric<T> - Class in org.jwat.common
-
Class used to keep track of a collection of error and warning diagnosis objects.
- DiagnosticsGeneric() - Constructor for class org.jwat.common.DiagnosticsGeneric
-
- Digest - Class in org.jwat.common
-
This class represents a message digest including information about algorithm
and encoding used.
- Digest() - Constructor for class org.jwat.common.Digest
-
- digest - Variable in class org.jwat.common.Payload
-
Digest bytes.
- digest - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Digest bytes.
- digestAlgoLengthache - Static variable in class org.jwat.common.Digest
-
Cache length of algorithm digest output.
- digestAlgorithm - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
- digestAlgorithmLength(String) - Static method in class org.jwat.common.Digest
-
Returns the length of an algorithms digest output or -1 if it is an
invalid digest algorithm.
- digestBytes - Variable in class org.jwat.common.Digest
-
Digest in bytes as returned by e.g.
- DigestInputStreamNoSkip - Class in org.jwat.common
-
The standard DigestInputStream does not update the digest
when performing a skip operation.
- DigestInputStreamNoSkip(InputStream, MessageDigest) - Constructor for class org.jwat.common.DigestInputStreamNoSkip
-
Construct a DigestInputStream with the skip method
overridden.
- digestString - Variable in class org.jwat.common.Digest
-
Digest string, encoded.
- divu10gcc(int) - Static method in class org.jwat.common.Numbers
-
Divu10 from GNU GCC.
- divu10hd(int) - Static method in class org.jwat.common.Numbers
-
Divu10 from Hackers Delight.
- E_BIT_EOF - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting unexpected EOF.
- E_BIT_INVALID_CHARSET - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting an invalid encoding.
- E_BIT_INVALID_CONTROL_CHAR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting an invalid control character.
- E_BIT_INVALID_QUOTED_PAIR_CHAR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting an invalid quoted pair character.
- E_BIT_INVALID_SEPARATOR_CHAR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting an invalid separator character.
- E_BIT_INVALID_US_ASCII_CHAR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting an invalid US-ASCII character.
- E_BIT_INVALID_UTF8_ENCODING - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting an invalid UTF-8 encoded character.
- E_BIT_MISPLACED_CR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting a misplaced CR.
- E_BIT_MISSING_CR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting a missing CR.
- E_BIT_MISSING_QUOTE - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting a missing quote character.
- E_BIT_MISSING_QUOTED_PAIR_CHAR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting a missing quoted pair character.
- E_BIT_UNEXPECTED_CR - Static variable in class org.jwat.common.HeaderLineReader
-
Bit denoting an unexpected CR.
- ENC_BASE64 - Static variable in class org.jwat.common.EncodedWords
-
Base64 encoding id.
- ENC_ISO8859_1 - Static variable in class org.jwat.common.HeaderLineReader
-
ISO-8859-1 encoding identifier.
- ENC_QUOTEDPRINTABLE - Static variable in class org.jwat.common.EncodedWords
-
Quoted-Printable encoding id.
- ENC_RAW - Static variable in class org.jwat.common.HeaderLineReader
-
Raw encoding identifier.
- ENC_US_ASCII - Static variable in class org.jwat.common.HeaderLineReader
-
US-ASCII encoding identifier.
- ENC_UTF8 - Static variable in class org.jwat.common.HeaderLineReader
-
UTF-8 encoding identifier.
- encode(String, String) - Method in class org.jwat.common.ISO8859_1
-
Converts a string to a byte array removing invalid characters in the
process and returning the validity status.
- encodeArray(byte[]) - Static method in class org.jwat.common.Base16
-
Encodes a byte array.
- encodeArray(byte[]) - Static method in class org.jwat.common.Base2
-
Encodes a byte array.
- encodeArray(byte[]) - Static method in class org.jwat.common.Base32
-
Encodes a byte array.
- encodeArray(byte[]) - Static method in class org.jwat.common.Base64
-
Encodes a byte array.
- encoded - Variable in class org.jwat.common.ISO8859_1
-
Encoded string after call to encode method.
- encoded_text - Variable in class org.jwat.common.EncodedWords
-
Raw encoded text string
- EncodedWords - Class in org.jwat.common
-
Class used to decode and validate an Encoded-Word string as specified
in RFC 2047.
- EncodedWords() - Constructor for class org.jwat.common.EncodedWords
-
- encodeString(String) - Static method in class org.jwat.common.Base16
-
Encodes a string.
- encodeString(String) - Static method in class org.jwat.common.Base2
-
Encodes a string.
- encodeString(String) - Static method in class org.jwat.common.Base32
-
Encodes a string.
- encodeString(String) - Static method in class org.jwat.common.Base64
-
Encodes a string.
- encodeTab - Static variable in class org.jwat.common.Base16
-
Ascii table used to encode.
- encodeTab - Static variable in class org.jwat.common.Base2
-
Ascii table used to encode.
- encodeTab - Static variable in class org.jwat.common.Base32
-
Ascii table used to encode.
- encoding - Variable in class org.jwat.common.Digest
-
Digest encoding used.
- encoding - Variable in class org.jwat.common.EncodedWords
-
Identified encoding, 0 indicates an unknown encoding.
- encoding - Variable in class org.jwat.common.HeaderLineReader
-
Identifier for the expected character encoding.
- encodingStr - Variable in class org.jwat.common.EncodedWords
-
Raw encoding name.
- entity - Variable in class org.jwat.common.Diagnosis
-
Source entity on which the diagnosis is relevant.
- eol - Variable in class org.jwat.common.HeaderLineReader
-
Identifier for the Expected end of line character sequence.
- EOL_CRLF - Static variable in class org.jwat.common.HeaderLineReader
-
CRLF end of line identifier.
- EOL_LF - Static variable in class org.jwat.common.HeaderLineReader
-
LF end of line identifier.
- equals(Object) - Method in class org.jwat.common.ContentType
-
- equals(Object) - Method in class org.jwat.common.Diagnosis
-
- equals(Object) - Method in class org.jwat.common.Digest
-
- equals(Object) - Method in class org.jwat.common.Uri
-
- equalsAt(byte[], byte[], int) - Static method in class org.jwat.common.ArrayUtils
-
Check if a byte array matches a specified case sensitive sub byte array at a certain index.
- equalsAtIgnoreCase(byte[], byte[], int) - Static method in class org.jwat.common.ArrayUtils
-
Check if a byte array matches a specified case insensitive sub byte array at a certain index.
- errors - Variable in class org.jwat.common.DiagnosticsGeneric
-
List of error diagnoses.
- expected_information - Variable in enum org.jwat.common.DiagnosisType
-
Minimum number of information strings expected.
- getAddress(String) - Static method in class org.jwat.common.IPAddressParser
-
Checks the validity of an IP address.
- getArrayValue(String[], int) - Static method in class org.jwat.common.FieldValidator
-
Checks to if the index is out of bounds in the give array and also
if the value if null or empty.
- getAuthority() - Method in class org.jwat.common.Uri
-
Returns the decoded authority component of this URI.
- getByteBuffer() - Method in class org.jwat.common.ByteArrayIOStream
-
Return internal byte array wrapped in a new ByteBuffer object.
- getBytes(String) - Method in class org.jwat.common.ANVLRecord
-
- getBytes() - Method in class org.jwat.common.ByteArrayIOStream
-
Return internal byte array.
- getConsumed() - Method in class org.jwat.common.ByteCountingInputStream
-
Retrieve the number of bytes consumed by this stream.
- getConsumed() - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
Retrieve the number of bytes consumed by this stream.
- getConsumed() - Method in class org.jwat.common.CharCountingStringReader
-
Consumed length getter.
- getCounter() - Method in class org.jwat.common.ByteCountingInputStream
-
Retrieve the current counter value.
- getCounter() - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
Retrieve the current counter value.
- getCounter() - Method in class org.jwat.common.CharCountingStringReader
-
Retrieve the current counter value.
- getDigest() - Method in class org.jwat.common.Payload
-
Returns the calculated digest.
- getDigest() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Returns the MessageDigest used on payload stream.
- getErrors() - Method in class org.jwat.common.DiagnosticsGeneric
-
Returns unmodifiable list of error diagnoses.
- getFragment() - Method in class org.jwat.common.Uri
-
Returns the decoded fragment component of this URI.
- getHeader(String) - Method in class org.jwat.common.HttpHeader
-
- getHeader(String) - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get a header line structure or null, if no header line structure is
stored with the given header name.
- getHeader() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get the raw header as bytes.
- getHeaderLineReader() - Static method in class org.jwat.common.HeaderLineReader
-
Returns a reader initialized to read header lines.
- getHeaderList() - Method in class org.jwat.common.HttpHeader
-
- getHeaderList() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get a List of all the headers found during parsing.
- getHost() - Method in class org.jwat.common.Uri
-
Returns the host component of this URI.
- getInputStream() - Method in class org.jwat.common.ByteArrayIOStream
-
Return InputStream and lock this buffer
- getInputStream() - Method in class org.jwat.common.Payload
-
Get InputStream to read the payload directly from the
source bypassing any existing HttpResponse object.
- getInputStreamComplete() - Method in class org.jwat.common.Payload
-
Get InputStream to read the complete payload even though
a http response header may have been read.
- getInputStreamComplete() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get an InputStream containing both the header and the
payload.
- getLength() - Method in class org.jwat.common.ByteArrayIOStream
-
Return allocated length of internal buffer.
- getLimit() - Method in class org.jwat.common.ByteArrayIOStream
-
Return internal ByteBuffer limit.
- getLineReader() - Static method in class org.jwat.common.HeaderLineReader
-
Returns a reader initialized to read normal lines.
- getMessageArgs() - Method in class org.jwat.common.Diagnosis
-
Returns an array comprising of the entity followed by the information
array elements.
- getOutputStream() - Method in class org.jwat.common.ByteArrayIOStream
-
Return OutputStream and lock this buffer
- getParameter(String) - Method in class org.jwat.common.ContentType
-
Return parameter value associated with supplied parameter name.
- getPath() - Method in class org.jwat.common.Uri
-
Returns the decoded path component of this URI.
- getPayloadHeaderWrapped() - Method in class org.jwat.common.Payload
-
Get the PayloadHeaderWrapper object associated with this payload.
- getPayloadInputStream() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get an InputStream containing only the payload.
- getPayloadLength() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get HTTP payload length.
- getPort() - Method in class org.jwat.common.Uri
-
Returns the port number of this URI.
- getProtocolContentType() - Method in class org.jwat.common.HttpHeader
-
Content-Type getter
- getProtocolStatusCode() - Method in class org.jwat.common.HttpHeader
-
Result-Code integer getter
- getProtocolStatusCodeStr() - Method in class org.jwat.common.HttpHeader
-
Result-Code string getter
- getProtocolVersion() - Method in class org.jwat.common.HttpHeader
-
protocolVersion getter
- getPushbackSize() - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
Get the pushback buffer size.
- getPushbackSize() - Method in class org.jwat.common.Payload
-
Get pushback buffer size.
- getQuery() - Method in class org.jwat.common.Uri
-
Returns the decoded query component of this URI.
- getRawAuthority() - Method in class org.jwat.common.Uri
-
Returns the raw authority component of this URI.
- getRawFragment() - Method in class org.jwat.common.Uri
-
Returns the raw fragment component of this URI.
- getRawPath() - Method in class org.jwat.common.Uri
-
Returns the raw path component of this URI.
- getRawQuery() - Method in class org.jwat.common.Uri
-
Returns the raw query component of this URI.
- getRawSchemeSpecificPart() - Method in class org.jwat.common.Uri
-
Returns the raw scheme-specific part of this URI.
- getRawUserInfo() - Method in class org.jwat.common.Uri
-
Returns the raw user-information component of this URI.
- getReader() - Static method in class org.jwat.common.HeaderLineReader
-
Returns a reader with default configuration values.
- getRecording() - Method in class org.jwat.common.MaxLengthRecordingInputStream
-
Return the bytes recorded by the stream.
- getRemaining() - Method in class org.jwat.common.Payload
-
Get payload remaining length.
- getRemaining() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get payload remaining length.
- getScheme(String) - Static method in class org.jwat.common.Scheme
-
Returns a scheme if the given string has a valid scheme at the beginning
of null if no scheme was found.
- getScheme() - Method in class org.jwat.common.Uri
-
Returns the scheme component of this URI.
- getSchemeSpecificPart() - Method in class org.jwat.common.Uri
-
Returns the decoded scheme-specific part of this URI.
- getSecurityProviders() - Static method in class org.jwat.common.SecurityProviderTools
-
Returns an array of available security providers.
- getTotalLength() - Method in class org.jwat.common.Payload
-
Get payload total length.
- getTotalLength() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get payload total length, header and payload.
- getUnavailable() - Method in class org.jwat.common.Payload
-
Get the number of unavailable bytes missing due to unexpected EOF.
- getUnavailable() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Get the number of unavailable bytes missing due to unexpected EOF.
- getUserInfo() - Method in class org.jwat.common.Uri
-
Returns the decoded user-information component of this URI.
- getUTF8Bytes() - Method in class org.jwat.common.ANVLRecord
-
- getWarnings() - Method in class org.jwat.common.DiagnosticsGeneric
-
Returns unmodifiable list of warning diagnoses.
- hasErrors() - Method in class org.jwat.common.DiagnosticsGeneric
-
Does collection have an error diagnosis.
- hashCode() - Method in class org.jwat.common.ContentType
-
- hashCode() - Method in class org.jwat.common.Diagnosis
-
- hashCode() - Method in class org.jwat.common.Digest
-
- hashCode() - Method in class org.jwat.common.Uri
-
- hasWarnings() - Method in class org.jwat.common.DiagnosticsGeneric
-
Does collection have a warning diagnosis.
- header - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
The raw header read as bytes.
- HeaderLine - Class in org.jwat.common
-
Depending on the parsing mode either a line or a header entry
pair(name, value) is returned.
- HeaderLine() - Constructor for class org.jwat.common.HeaderLine
-
- HeaderLineReader - Class in org.jwat.common
-
Advanced header/line reader which can be configured into difference modes.
- HeaderLineReader() - Constructor for class org.jwat.common.HeaderLineReader
-
Prohibit public construction.
- headerList - Variable in class org.jwat.common.HttpHeader
-
List of parsed header fields.
- headerMap - Variable in class org.jwat.common.HttpHeader
-
Map of parsed header fields.
- headerType - Variable in class org.jwat.common.HttpHeader
-
Header type of this object.
- hexTab - Static variable in class org.jwat.common.UriProfile
-
Integer to hex char conversion table.
- hierPartRaw - Variable in class org.jwat.common.Uri
-
Raw hier-part part ("//" + authority + path).
- HLT_HEADERLINE - Static variable in class org.jwat.common.HeaderLine
-
Header line parsed.
- HLT_LINE - Static variable in class org.jwat.common.HeaderLine
-
Normal line parsed.
- host - Variable in class org.jwat.common.Uri
-
Host authority component decoded, if present.
- hostRaw - Variable in class org.jwat.common.Uri
-
Host authority component, if present.
- HT_REQUEST - Static variable in class org.jwat.common.HttpHeader
-
Request header type.
- HT_RESPONSE - Static variable in class org.jwat.common.HttpHeader
-
Response header type.
- HTTP_VERSION_SUFFIX - Static variable in class org.jwat.common.HttpHeader
-
HTTP Version suffix.
- HttpHeader - Class in org.jwat.common
-
This class represents a recognized HTTP response or request header with optional payload.
- HttpHeader() - Constructor for class org.jwat.common.HttpHeader
-
Non public constructor.
- httpVersion - Variable in class org.jwat.common.HttpHeader
-
HTTP-Version.
- httpVersionMajor - Variable in class org.jwat.common.HttpHeader
-
HTTP-Version major.
- httpVersionMinor - Variable in class org.jwat.common.HttpHeader
-
HTTP-Version minor.
- imArr - Static variable in class org.jwat.common.Numbers
-
- in_buffered - Variable in class org.jwat.common.Payload
-
Payload content.
- in_complete - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Sequence of the header as a stream combined with the payload stream.
- in_digest - Variable in class org.jwat.common.Payload
-
Automatic digesting of payload input stream.
- in_digest - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Automatic digesting of payload input stream.
- in_fl - Variable in class org.jwat.common.Payload
-
Base stream used to limit payload access to only the payload and
not any record data beyond that.
- in_flr - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Stream used to ensure we don't use more than the pushback buffer on
headers and at the same time store everything read in an array.
- in_payload - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Payload stream returned to user.
- in_pb - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
InputStream to read payload.
- in_pb_exposed - Variable in class org.jwat.common.Payload
-
Pushback input stream exposed to the outside, usable by payload processors.
- in_pb_exposed - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Pushback input stream exposed to the outside.
- indexOf(byte[], byte[], int) - Static method in class org.jwat.common.ArrayUtils
-
Find the next case sensitive occurrence of a byte sub array in a larger byte array beginning from a specific index.
- indexOf(int, String, int) - Method in class org.jwat.common.UriProfile
-
Given a collection of characters find the index of the first occurrence
of any of the characters in the supplied string starting from a certain
position.
- indexOfIgnoreCase(byte[], byte[], int) - Static method in class org.jwat.common.ArrayUtils
-
Find the next case insensitive occurrence of a byte sub array in a larger byte array beginning from a specific index.
- information - Variable in class org.jwat.common.Diagnosis
-
Any optional information which may be relevant for the specific
diagnosis.
- initProcess() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
- InputStreamImpl(ByteArrayIOStream) - Constructor for class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
Construct InputStream object.
- InputStreamNoSkip - Class in org.jwat.common
-
The standard FileInputStream has a known bug concerning it's
skip method which does not correctly report the number of bytes skipped.
- InputStreamNoSkip(InputStream) - Constructor for class org.jwat.common.InputStreamNoSkip
-
Construct a InputStream with the skip method
overridden.
- IntItem() - Constructor for class org.jwat.common.TreeOfIntMapper.IntItem
-
- intModulo(int, int) - Static method in class org.jwat.common.Numbers
-
- intStrLen(int) - Static method in class org.jwat.common.Numbers
-
Find the string length of the integer without leading zeroes.
- intTrailingZeros(int) - Static method in class org.jwat.common.Numbers
-
Returns the number of trailing zeroes in an integer, or zero if the number is 0.
- IPAddressParser - Class in org.jwat.common
-
IP address parser and format validator for Ipv4 and Ipv6.
- IPAddressParser() - Constructor for class org.jwat.common.IPAddressParser
-
No constructor for this utility class, static access only.
- isAbsolute() - Method in class org.jwat.common.Uri
-
Tells whether or not this URI is absolute.
- isClosed() - Method in class org.jwat.common.Payload
-
Check to see if the payload has been closed.
- isClosed() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Check to see if the header has been closed.
- isHttpRequestLineValid(String) - Method in class org.jwat.common.HttpHeader
-
Checks a HTTP Request Request-Line for validity.
- isHttpStatusLineValid(String) - Method in class org.jwat.common.HttpHeader
-
Checks a HTTP Response Status-Line for validity.
- isHttpVersionValid(String) - Method in class org.jwat.common.HttpHeader
-
Checks a HTTP-Version string for validity.
- islArr - Static variable in class org.jwat.common.Numbers
-
Integer array for integer string length binary search.
- ISO8859_1 - Class in org.jwat.common
-
Small class to decode and encode ISO-8859-1 strings while also validating
them.
- ISO8859_1() - Constructor for class org.jwat.common.ISO8859_1
-
Construct an instance that can be used to convert and validate.
- isOpaque() - Method in class org.jwat.common.Uri
-
Tells whether or not this URI is opaque.
- isProviderAvailable(Provider[], String) - Static method in class org.jwat.common.SecurityProviderTools
-
Check to see if a specific security provider is present in the supplied array of providers.
- isSupported(String) - Static method in class org.jwat.common.HttpHeader
-
Boolean indicating whether a protocol is supported by this
payload inspector.
- isTokenCharacter(int) - Static method in class org.jwat.common.ContentType
-
Check whether character is a valid token.
- isValid() - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Returns the result of the header validation.
- itemList - Variable in class org.jwat.common.TreeOfIntMapper.IntItem
-
- parameters - Variable in class org.jwat.common.ContentType
-
Optional Map of parameters.
- parse() - Method in class org.jwat.common.ANVLRecord
-
- parseContentType(String) - Static method in class org.jwat.common.ContentType
-
Tries to parse and validate the given content-type string.
- parseCRLFs(ByteCountingPushBackInputStream, Diagnostics) - Method in class org.jwat.common.NewlineParser
-
Looks forward in the input stream and counts the number of newlines
found.
- parseEncodedWords(InputStream, boolean) - Static method in class org.jwat.common.EncodedWords
-
Attempt to validate and decode an encoded-word from the input stream.
- parseLFs(ByteCountingPushBackInputStream, Diagnostics) - Method in class org.jwat.common.NewlineParser
-
Looks forward in the input stream and counts the number of newlines
found.
- path - Variable in class org.jwat.common.Uri
-
Path component decoded.
- pathRaw - Variable in class org.jwat.common.Uri
-
Raw path component.
- Payload - Class in org.jwat.common
-
This class makes the archived payload of an ARC/WARC record accessible
through a stream.
- Payload() - Constructor for class org.jwat.common.Payload
-
Non public constructor.
- payloadClosed() - Method in interface org.jwat.common.PayloadOnClosedHandler
-
Method called when the associated payload has been fully read or
skipped.
- payloadHeaderWrapped - Variable in class org.jwat.common.Payload
-
Header wrapped payload, if present.
- payloadLength - Variable in class org.jwat.common.PayloadWithHeaderAbstract
-
Object size, in bytes.
- PayloadOnClosedHandler - Interface in org.jwat.common
-
Callback handler used by the payload implementation to notify the initiating
caller that the payload has been closed and all payload data have been read
or skipped.
- PayloadWithHeaderAbstract - Class in org.jwat.common
-
Abstract base class for payload types that include a header.
- PayloadWithHeaderAbstract() - Constructor for class org.jwat.common.PayloadWithHeaderAbstract
-
- peek(byte[]) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
Peek into the stream by filling as much of the supplied array as
possible before unreading the stream and returning.
- port - Variable in class org.jwat.common.Uri
-
Port authority component, if present.
- portRaw - Variable in class org.jwat.common.Uri
-
Raw port authority component, if present.
- prepare(String[]) - Static method in class org.jwat.common.FieldValidator
-
Prepares a validator for use on a given set of fields.
- printSecurityProviders(Provider[]) - Static method in class org.jwat.common.SecurityProviderTools
-
Output a list of security providers to the console.
- processPayload(int, ByteCountingPushBackInputStream, long, String) - Static method in class org.jwat.common.HttpHeader
-
Reads the HTTP protocol response or request and returns it as an object.
- processPayload(InputStream, long, int, String) - Static method in class org.jwat.common.Payload
-
Creates new ArcPayload instance.
- PROTOCOL_HTTP - Static variable in class org.jwat.common.HttpHeader
-
HTTP scheme.
- PROTOCOL_HTTPS - Static variable in class org.jwat.common.HttpHeader
-
HTTPS scheme.
- pushback_size - Variable in class org.jwat.common.ByteCountingPushBackInputStream
-
Pushback buffer size.
- pushback_size - Variable in class org.jwat.common.Payload
-
Pushback size.
- raf - Variable in class org.jwat.common.RandomAccessFileInputStream
-
Encapsulated RandomAccessFile used for stream data.
- raf - Variable in class org.jwat.common.RandomAccessFileOutputStream
-
Encapsulated RandomAccessFile used for stream data.
- RandomAccessFileInputStream - Class in org.jwat.common
-
This class wraps a RandomAccessFile into a usable
InputStream which supports random re-position.
- RandomAccessFileInputStream(RandomAccessFile) - Constructor for class org.jwat.common.RandomAccessFileInputStream
-
Create a new random access InputStream with repositioning
capabilities.
- RandomAccessFileOutputStream - Class in org.jwat.common
-
This class wraps a RandomAccessFile into a usable
OutputStream which supports random re-position.
- RandomAccessFileOutputStream(RandomAccessFile) - Constructor for class org.jwat.common.RandomAccessFileOutputStream
-
Create a new random access OutputStream with repositioning
capabilities.
- raw - Variable in class org.jwat.common.HeaderLine
-
The original byte stream.
- read() - Method in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
- read(byte[], int, int) - Method in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
- read(byte[]) - Method in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
- read() - Method in class org.jwat.common.ByteCountingInputStream
-
- read(byte[], int, int) - Method in class org.jwat.common.ByteCountingInputStream
-
- read() - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- read(byte[]) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- read(byte[], int, int) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- read() - Method in class org.jwat.common.CharCountingStringReader
-
- read(char[], int, int) - Method in class org.jwat.common.CharCountingStringReader
-
- read() - Method in class org.jwat.common.FixedLengthInputStream
-
- read(byte[]) - Method in class org.jwat.common.FixedLengthInputStream
-
- read(byte[], int, int) - Method in class org.jwat.common.FixedLengthInputStream
-
- read() - Method in class org.jwat.common.MaxLengthRecordingInputStream
-
- read(byte[]) - Method in class org.jwat.common.MaxLengthRecordingInputStream
-
- read(byte[], int, int) - Method in class org.jwat.common.MaxLengthRecordingInputStream
-
- read() - Method in class org.jwat.common.RandomAccessFileInputStream
-
- read(byte[]) - Method in class org.jwat.common.RandomAccessFileInputStream
-
- read(byte[], int, int) - Method in class org.jwat.common.RandomAccessFileInputStream
-
- readFully(byte[]) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
Guaranteed to read the exact number of bytes that are in the array,
if not, the bytes are pushed back into the stream before returning.
- readHeader(MaxLengthRecordingInputStream, long) - Method in class org.jwat.common.HttpHeader
-
- readHeader(MaxLengthRecordingInputStream, long) - Method in class org.jwat.common.PayloadWithHeaderAbstract
-
Reads the header and updates the payloadLength field if the header is valid.
- readLine() - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
Read a single line into a string.
- readLine() - Method in class org.jwat.common.CharCountingStringReader
-
Reads a line defined as characters read until encountering a
LF or EOF.
- readLine(InputStream) - Static method in class org.jwat.common.HeaderLine
-
Read a single line into a header line.
- readLine(PushbackInputStream) - Method in class org.jwat.common.HeaderLineReader
-
Reads a header/line according to the configuration.
- READLINE_INITIAL_SIZE - Static variable in class org.jwat.common.ByteCountingInputStream
-
Read line initial size.
- READLINE_INITIAL_SIZE - Static variable in class org.jwat.common.ByteCountingPushBackInputStream
-
Read line initial size.
- READLINE_INITIAL_SIZE - Static variable in class org.jwat.common.HeaderLine
-
Read line initial size.
- readUtf8(int, InputStream) - Method in class org.jwat.common.UTF8
-
Given a character and an input stream returns the next decoded UTF-8
character.
- reasonPhrase - Variable in class org.jwat.common.HttpHeader
-
HTTP Reason-Phrase.
- record - Variable in class org.jwat.common.MaxLengthRecordingInputStream
-
Output stream used to keep a record of data read.
- release() - Method in class org.jwat.common.ByteArrayIOStream
-
Release lock, called when input/output stream is closed.
- remaining - Variable in class org.jwat.common.FixedLengthInputStream
-
Remaining bytes available.
- report_error(int, Diagnostics) - Static method in class org.jwat.common.HeaderLineReader
-
Report bit field errors as diagnoses.
- requestUri - Variable in class org.jwat.common.HttpHeader
-
HTTP Request-URI.
- reset() - Method in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
- reset() - Method in class org.jwat.common.ByteCountingInputStream
-
- reset() - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- reset() - Method in class org.jwat.common.CharCountingStringReader
-
- reset() - Method in class org.jwat.common.DiagnosticsGeneric
-
Resets the collection of errors and warnings.
- reset() - Method in class org.jwat.common.DigestInputStreamNoSkip
-
- reset() - Method in class org.jwat.common.FixedLengthInputStream
-
- reset() - Method in class org.jwat.common.MaxLengthRecordingInputStream
-
- reset() - Method in class org.jwat.common.RandomAccessFileInputStream
-
- RFC3986 - Static variable in class org.jwat.common.UriProfile
-
RFC3986 compliant URI profile.
- RFC3986_ABS_16BIT - Static variable in class org.jwat.common.UriProfile
-
Modified RFC3986 URI profile which disallows relative URIs
and allows 16-bit percent encoding.
- RFC3986_ABS_16BIT_LAX - Static variable in class org.jwat.common.UriProfile
-
Relaxed RFC3986 URI profile which disallows relative URIs,
allows 16-bit percent encoding, allow invalid percent encoding
and allows most 8-bit characters.
- rootItem - Variable in class org.jwat.common.TreeOfIntMapper
-
- S_CHARSET - Static variable in class org.jwat.common.EncodedWords
-
Reading the charset state.
- S_CONTENTTYPE - Static variable in class org.jwat.common.ContentType
-
Parsing content-type state.
- S_ENCODED_WORDS - Static variable in class org.jwat.common.EncodedWords
-
Reading the encoded words state.
- S_ENCODING - Static variable in class org.jwat.common.EncodedWords
-
Reading the encoding state.
- S_END_EQ - Static variable in class org.jwat.common.EncodedWords
-
Looking for the last equal sign state.
- S_LINE - Static variable in class org.jwat.common.HeaderLineReader
-
Initial state for reading a normal line.
- S_LWS - Static variable in class org.jwat.common.HeaderLineReader
-
State for reading a LWS character sequence.
- S_MEDIATYPE - Static variable in class org.jwat.common.ContentType
-
Parsing media-type state.
- S_MEDIATYPE_WHITESPACE - Static variable in class org.jwat.common.ContentType
-
Lenient parsing of trailing whitespace after media-type state.
- S_NAME - Static variable in class org.jwat.common.HeaderLineReader
-
Initial state for reading a header line.
- S_PARAM_EQ - Static variable in class org.jwat.common.ContentType
-
Parsing after a '=' character state.
- S_PARAM_NAME - Static variable in class org.jwat.common.ContentType
-
Parsing the parameter name state.
- S_PARAM_QUOTED_PAIR - Static variable in class org.jwat.common.ContentType
-
Parsing a quoted pair character state.
- S_PARAM_QUOTED_VALUE - Static variable in class org.jwat.common.ContentType
-
Parsing a quote parameter value state.
- S_PARAM_VALUE - Static variable in class org.jwat.common.ContentType
-
Parsing a parameter value token state.
- S_PARAM_VALUE_WHITESPACE - Static variable in class org.jwat.common.ContentType
-
Lenient parsing of trailing whitespace after argument value state.
- S_QUOTED_LWS - Static variable in class org.jwat.common.HeaderLineReader
-
State for reading a quoted LWS character sequence.
- S_QUOTED_PAIR - Static variable in class org.jwat.common.HeaderLineReader
-
State for reading a quoted pair character.
- S_QUOTED_TEXT - Static variable in class org.jwat.common.HeaderLineReader
-
State for reading a quoted string.
- S_SEMICOLON - Static variable in class org.jwat.common.ContentType
-
Parsing after a ';' character state.
- S_START - Static variable in class org.jwat.common.ContentType
-
Beginning state.
- S_START_EQ - Static variable in class org.jwat.common.EncodedWords
-
Looking for an equal sign state.
- S_START_QM - Static variable in class org.jwat.common.EncodedWords
-
Looking for a question mark state.
- S_VALUE - Static variable in class org.jwat.common.HeaderLineReader
-
State for reading a header value.
- Scheme - Class in org.jwat.common
-
Simple class to validate a scheme in the beginning of a byte array.
- Scheme() - Constructor for class org.jwat.common.Scheme
-
Disable instantiation.
- scheme - Variable in class org.jwat.common.Uri
-
Scheme component, if present.
- schemeSpecificPart - Variable in class org.jwat.common.Uri
-
Scheme specific part decoded.
- schemeSpecificPartRaw - Variable in class org.jwat.common.Uri
-
Raw scheme specific part, if present.
- SecurityProviderTools - Class in org.jwat.common
-
Security Provider helper class.
- SecurityProviderTools() - Constructor for class org.jwat.common.SecurityProviderTools
-
Constructor not used as of yet.
- separators - Static variable in class org.jwat.common.ContentType
-
rfc2616 separator minus space and tab.
- separators - Static variable in class org.jwat.common.EncodedWords
-
rfc2616 separator minus space and tab.
- separatorsWs - Static variable in class org.jwat.common.HeaderLineReader
-
rfc2616 separator characters.
- setCounter(long) - Method in class org.jwat.common.ByteCountingInputStream
-
Change the counter value.
- setCounter(long) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
Change the counter value.
- setCounter(long) - Method in class org.jwat.common.CharCountingStringReader
-
Change the counter value.
- setOnClosedHandler(PayloadOnClosedHandler) - Method in class org.jwat.common.Payload
-
Set optional handler to be called when payload is closed.
- setParameter(String, String) - Method in class org.jwat.common.ContentType
-
Set a parameter with the given (name, value) pair.
- setPayloadHeaderWrapped(PayloadWithHeaderAbstract) - Method in class org.jwat.common.Payload
-
Set PayloadHeaderWrapper object in case of recognized payload content.
- size - Variable in class org.jwat.common.TreeOfIntMapper
-
- size() - Method in class org.jwat.common.TreeOfIntMapper
-
- skip(byte[], byte[], int) - Static method in class org.jwat.common.ArrayUtils
-
Move index forward according to the values in the byte array and the skip byte array which decides which byte values must be skipped.
- skip(long) - Method in class org.jwat.common.ByteArrayIOStream.InputStreamImpl
-
- skip(long) - Method in class org.jwat.common.ByteCountingInputStream
-
- skip(long) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- skip(long) - Method in class org.jwat.common.CharCountingStringReader
-
- skip(long) - Method in class org.jwat.common.DigestInputStreamNoSkip
-
- skip(long) - Method in class org.jwat.common.FixedLengthInputStream
-
- skip(long) - Method in class org.jwat.common.InputStreamNoSkip
-
- skip(long) - Method in class org.jwat.common.MaxLengthRecordingInputStream
-
- skip(long) - Method in class org.jwat.common.RandomAccessFileInputStream
-
- SKIP_NONWHITESPACE - Static variable in class org.jwat.common.ArrayUtils
-
Array where the character equal to the index is 1 only for non whitespace characters.
- skip_read_buffer - Variable in class org.jwat.common.DigestInputStreamNoSkip
-
Read buffer used by the skip method.
- skip_read_buffer - Variable in class org.jwat.common.InputStreamNoSkip
-
Read buffer used by the skip method.
- skip_read_buffer - Variable in class org.jwat.common.MaxLengthRecordingInputStream
-
Read buffer used by the skip method.
- SKIP_READ_BUFFER_SIZE - Static variable in class org.jwat.common.DigestInputStreamNoSkip
-
Buffer size to use when read skipping.
- SKIP_READ_BUFFER_SIZE - Static variable in class org.jwat.common.InputStreamNoSkip
-
Buffer size to use when read skipping.
- SKIP_READ_BUFFER_SIZE - Static variable in class org.jwat.common.MaxLengthRecordingInputStream
-
Buffer size to use when read skipping.
- SKIP_WHITESPACE - Static variable in class org.jwat.common.ArrayUtils
-
Array where the character equal to the index is 1 only for whitespace characters.
- split(byte[], byte[], int, int) - Static method in class org.jwat.common.ArrayUtils
-
Case sensitive split a byte array into a list of byte arrays.
- startsWith(byte[], byte[]) - Static method in class org.jwat.common.ArrayUtils
-
Check if a byte array starts with a specified case sensitive sub byte array.
- startsWithIgnoreCase(byte[], byte[]) - Static method in class org.jwat.common.ArrayUtils
-
Check if a byte array starts with a specified case insensitive sub byte array.
- startsWithScheme(byte[]) - Static method in class org.jwat.common.Scheme
-
Returns true if the start of the array is a valid scheme.
- statusCode - Variable in class org.jwat.common.HttpHeader
-
HTTP Status-Code.
- statusCodeStr - Variable in class org.jwat.common.HttpHeader
-
HTTP Status-Code.
- unread(int) - Method in class org.jwat.common.ByteArrayOutputStreamWithUnread
-
Unread a byte by removing it from the buffer.
- unread(byte[]) - Method in class org.jwat.common.ByteArrayOutputStreamWithUnread
-
Unread an array of bytes by removing them from the buffer.
- unread(byte[], int, int) - Method in class org.jwat.common.ByteArrayOutputStreamWithUnread
-
Unread a portion of an array of bytes by removing them from the buffer.
- unread(int) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- unread(byte[]) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- unread(byte[], int, int) - Method in class org.jwat.common.ByteCountingPushBackInputStream
-
- Uri - Class in org.jwat.common
-
Custom URI parser/validation based on rfc3986.
- Uri() - Constructor for class org.jwat.common.Uri
-
Constructor for unit-testing.
- Uri(String) - Constructor for class org.jwat.common.Uri
-
Constructs a URI by parsing the given string using the default RFC3986
profile.
- Uri(String, UriProfile) - Constructor for class org.jwat.common.Uri
-
Constructs a URI by parsing the given string using the requested
profile.
- uriProfile - Variable in class org.jwat.common.Uri
-
Profile used to parse URI.
- UriProfile - Class in org.jwat.common
-
Implementation of an URI profile.
- UriProfile() - Constructor for class org.jwat.common.UriProfile
-
Construct an UriProfile initialized with RFC3986
rules.
- UriProfile(UriProfile) - Constructor for class org.jwat.common.UriProfile
-
Construct an UriProfile initialized from another profile.
- userinfo - Variable in class org.jwat.common.Uri
-
Userinfo authority component decoded, if present.
- userinfoRaw - Variable in class org.jwat.common.Uri
-
Raw userinfo authority component, if present.
- utf8 - Variable in class org.jwat.common.HeaderLineReader
-
Reusable UTF-8 validation object instance.
- UTF8 - Class in org.jwat.common
-
Small class to decode and encode UTF-8 characters.
- UTF8() - Constructor for class org.jwat.common.UTF8
-
- utf8_c - Variable in class org.jwat.common.UTF8
-
Complete or partial UTF-8 character, depending on conversion errors.