Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

abs(int) - Static method in class jsimple.lang.Math
Returns the absolute value of the argument.
abs(long) - Static method in class jsimple.lang.Math
Returns the absolute value of the argument.
ACCESS_TOKEN - Static variable in class jsimple.oauth.model.OAuthConstants
 
AccessTokenExtractor - Interface in jsimple.oauth.extractors
Simple command object that extracts a Token from a String
add(Object) - Method in class jsimple.json.objectmodel.JsonArray
Add the specified value to the array, at the end.
add(String, Object) - Method in class jsimple.json.objectmodel.JsonObject
 
add(String, String) - Method in class jsimple.net.HttpRequestParams
 
add(String, String) - Method in class jsimple.oauth.model.ParameterList
 
add(int, E) - Method in class jsimple.util.ArrayList
Inserts the specified object into this ArrayList at the specified location.
add(E) - Method in class jsimple.util.ArrayList
Adds the specified object at the end of this ArrayList.
add(E) - Method in class jsimple.util.Collection
Attempts to add object to the contents of this Collection (optional).
add(E) - Method in class jsimple.util.HashSet
Adds the specified object to this HashSet if not already present.
add(int, E) - Method in class jsimple.util.List
Inserts the specified object into this List at the specified location.
add(E) - Method in class jsimple.util.List
Adds the specified object at the end of this List.
add(String) - Method in class jsimple.util.TextualPath
 
addAll(ParameterList) - Method in class jsimple.oauth.model.ParameterList
 
addAll(int, Collection<? extends E>) - Method in class jsimple.util.ArrayList
Inserts the objects in the specified collection at the specified location in this List.
addAll(Collection<? extends E>) - Method in class jsimple.util.ArrayList
Adds the objects in the specified collection to this ArrayList.
addAll(Collection<? extends E>) - Method in class jsimple.util.Collection
Attempts to add all of the objects contained in Collection to the contents of this Collection (optional).
addAll(int, Collection<? extends E>) - Method in class jsimple.util.List
Inserts the objects in the specified Collection at the specified location in this List.
addBodyParameter(String, String) - Method in class jsimple.oauth.model.OAuthRequest
Add a body Parameter (for POST/ PUT Requests)
addBoolean(boolean) - Method in class jsimple.io.MurmurHash3
 
addByte(byte) - Method in class jsimple.io.MurmurHash3
 
addBytes(byte[], int, int) - Method in class jsimple.io.MurmurHash3
 
addChar(char) - Method in class jsimple.io.MurmurHash3
 
addChildArray(String) - Method in class jsimple.json.objectmodel.JsonObject
 
addChildObject(String) - Method in class jsimple.json.objectmodel.JsonObject
 
addHeader(String, String) - Method in class jsimple.oauth.model.OAuthRequest
Add an HTTP Header to the Request
addInt(int) - Method in class jsimple.io.MurmurHash3
 
addLong(long) - Method in class jsimple.io.MurmurHash3
 
addOAuthParameter(String, String) - Method in class jsimple.oauth.model.OAuthRequest
Adds an OAuth parameter.
addPayload(String) - Method in class jsimple.oauth.model.OAuthRequest
Add body payload.
addPayload(byte[]) - Method in class jsimple.oauth.model.OAuthRequest
Overloaded version for byte arrays
addPayload(ByteArrayRange) - Method in class jsimple.oauth.model.OAuthRequest
Overloaded version for byte arrays
addPayload(File) - Method in class jsimple.oauth.model.OAuthRequest
Overloaded version for byte arrays
addQueryString(String) - Method in class jsimple.oauth.model.ParameterList
 
addQueryStringParameter(String, String) - Method in class jsimple.oauth.model.OAuthRequest
Add a query string parameter
addQueryStringParameters(HttpRequestParams) - Method in class jsimple.oauth.model.OAuthRequest
Add the passed parameters to the query string
addStream(InputStream) - Method in class jsimple.io.MurmurHash3
 
addString(String) - Method in class jsimple.io.MurmurHash3
 
addToIndent(int) - Method in class jsimple.json.text.Serializer
Increment (or decrement if negative) the prevailing indent by the specified amount.
advance() - Method in class jsimple.json.objectmodel.ObjectModelParser
Advance to the next token.
advance() - Method in class jsimple.json.text.Token
 
advance() - Method in class jsimple.util.MatchBuilder
Advance the iterator to the next character.
advance() - Method in class jsimple.util.StringIterator
Advance the iterator to the next character.
advancePastWhitespace() - Method in class jsimple.util.StringIterator
Advance past any whitespace characters in the str, leaving the iterator at the first non-whitespace character following.
advancePastWhitespaceOnSameLine() - Method in class jsimple.util.StringIterator
 
apiKey(String) - Method in class jsimple.oauth.builder.ServiceBuilder
Configures the api key
apiSecret(String) - Method in class jsimple.oauth.builder.ServiceBuilder
Configures the api secret
append(LoggingEvent) - Method in class jsimple.logging.stdimpl.Appender
 
append(LoggingEvent) - Method in class jsimple.logging.stdimpl.WriterAppender
 
appendCodePoint(StringBuilder, int) - Static method in class jsimple.util.StringBuilderUtils
Append the specified UTF-32 code point to the string builder, encoding it in UTF-16 (as is used for standard Java and C# strings) as a single 16 bit character if it's in the basic multilingual plane or as a surrogate pair if it's in one of the supplementary planes.
Appender - Class in jsimple.logging.stdimpl
Note that Appenders MUST BE THREAD SAFE!
Appender() - Constructor for class jsimple.logging.stdimpl.Appender
 
appendTo(String) - Method in class jsimple.oauth.model.ParameterList
 
arraycopy(Object, int, Object, int, int) - Static method in class jsimple.util.PlatformUtils
Copies the number of length elements of the Array src starting at the offset srcPos into the Array dest at the position destPos.
arrayFormat(String, Object[]) - Static method in class jsimple.util.MessageFormatter
Same principle as the MessageFormatter.format(String, Object) and MessageFormatter.format(String, Object, Object) methods except that any number of arguments can be passed in an array.
ArrayList<E> - Class in jsimple.util
ArrayList is an implementation of List, backed by an array.
ArrayList() - Constructor for class jsimple.util.ArrayList
Constructs a new instance of ArrayList with ten capacity.
ArrayList(int) - Constructor for class jsimple.util.ArrayList
Constructs a new instance of ArrayList with the specified capacity.
ArrayList(Collection<E>) - Constructor for class jsimple.util.ArrayList
Constructs a new instance of ArrayList containing the elements of the specified collection.
ArrayList(E...) - Constructor for class jsimple.util.ArrayList
Constructs an ArrayList, with the specified initial members.
arrayListHashCode(ArrayList<?>) - Static method in class jsimple.util.ListUtils
Get the "deep" hash code for an ArrayList, by combining hash codes of elements in the list.
arrayListsEqual(ArrayList<?>, ArrayList<?>) - Static method in class jsimple.util.ListUtils
See if two ArrayLists are the same.
Arrays - Class in jsimple.util
Arrays contains static methods which operate on arrays.
asFormUrlEncodedString() - Method in class jsimple.oauth.model.ParameterList
 
asOauthBaseString() - Method in class jsimple.oauth.model.ParameterList
 
assertArrayEquals(String, Object[], Object[]) - Method in class jsimple.unit.UnitTest
 
assertArrayEquals(String, byte[], byte[]) - Method in class jsimple.unit.UnitTest
 
assertArrayEquals(String, char[], char[]) - Method in class jsimple.unit.UnitTest
 
assertArrayEquals(String, short[], short[]) - Method in class jsimple.unit.UnitTest
 
assertArrayEquals(String, int[], int[]) - Method in class jsimple.unit.UnitTest
 
assertArrayEquals(String, long[], long[]) - Method in class jsimple.unit.UnitTest
 
assertArrayEquals(String, Object[], Object[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two object arrays are equal.
assertArrayEquals(Object[], Object[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two object arrays are equal.
assertArrayEquals(String, byte[], byte[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two byte arrays are equal.
assertArrayEquals(byte[], byte[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two byte arrays are equal.
assertArrayEquals(String, char[], char[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two char arrays are equal.
assertArrayEquals(char[], char[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two char arrays are equal.
assertArrayEquals(String, short[], short[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two short arrays are equal.
assertArrayEquals(short[], short[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two short arrays are equal.
assertArrayEquals(String, int[], int[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two int arrays are equal.
assertArrayEquals(int[], int[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two int arrays are equal.
assertArrayEquals(String, long[], long[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two long arrays are equal.
assertArrayEquals(long[], long[]) - Method in class jsimple.unit.UnitTestBase
Asserts that two long arrays are equal.
assertEquals(String, Object, Object) - Method in class jsimple.unit.UnitTest
 
assertEquals(Object, Object) - Method in class jsimple.unit.UnitTestBase
Asserts that two objects are equal.
assertEquals(String, Object, Object) - Method in class jsimple.unit.UnitTestBase
Asserts that two objects are equal.
assertEquals(long, long) - Method in class jsimple.unit.UnitTestBase
Asserts that two longs are equal.
assertEquals(String, long, long) - Method in class jsimple.unit.UnitTestBase
Asserts that two longs are equal.
assertFalse(String, boolean) - Method in class jsimple.unit.UnitTestBase
Asserts that a condition is false.
assertFalse(boolean) - Method in class jsimple.unit.UnitTestBase
Asserts that a condition is false.
assertNotNull(String, Object) - Method in class jsimple.unit.UnitTestBase
Asserts that an object isn't null.
assertNotNull(Object) - Method in class jsimple.unit.UnitTestBase
Asserts that an object isn't null.
assertNull(String, Object) - Method in class jsimple.unit.UnitTestBase
Asserts that an object is null.
assertNull(Object) - Method in class jsimple.unit.UnitTestBase
Asserts that an object is null.
assertSame(String, Object, Object) - Method in class jsimple.unit.UnitTest
 
assertSame(String, Object, Object) - Method in class jsimple.unit.UnitTestBase
Asserts that two objects refer to the same object.
assertTrue(String, boolean) - Method in class jsimple.unit.UnitTestBase
Asserts that a condition is true.
assertTrue(boolean) - Method in class jsimple.unit.UnitTestBase
Asserts that a condition is true.
asUrlEncodedPair() - Method in class jsimple.oauth.model.Parameter
 
atEnd() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
atEnd() - Method in class jsimple.json.readerwriter.JsonObjectReader
 
atEnd() - Method in class jsimple.util.StringIterator
 
Authenticate() - Constructor for class jsimple.oauth.builder.api.TwitterOAuthApi.Authenticate
 
Authorize() - Constructor for class jsimple.oauth.builder.api.TwitterOAuthApi.Authorize
 
AutoCloseable - Class in jsimple.lang
Subclasses of AutoCloseable automatically have their close() method called when used in the Java7 try-with-resources statement.
AutoCloseable() - Constructor for class jsimple.lang.AutoCloseable
 

B

Base64 - Class in jsimple.util
Provides Base64 encoding and decoding as defined by RFC 2045.
Base64() - Constructor for class jsimple.util.Base64
Creates a Base64 codec.
BaseStringExtractor - Interface in jsimple.oauth.extractors
Simple command object that extracts a base string from a OAuthRequest
BaseStringExtractorImpl - Class in jsimple.oauth.extractors
Default implementation of BaseStringExtractor.
BaseStringExtractorImpl() - Constructor for class jsimple.oauth.extractors.BaseStringExtractorImpl
 
BasicException - Exception in jsimple.util
 
BasicException() - Constructor for exception jsimple.util.BasicException
 
BasicException(Throwable) - Constructor for exception jsimple.util.BasicException
 
BasicException(String) - Constructor for exception jsimple.util.BasicException
 
BasicException(String, Throwable) - Constructor for exception jsimple.util.BasicException
 
BasicException(String, Object) - Constructor for exception jsimple.util.BasicException
 
BasicException(String, Object, Object) - Constructor for exception jsimple.util.BasicException
 
BasicException(String, Object...) - Constructor for exception jsimple.util.BasicException
 
BasicException(MessageFormatter.FormattingTuple) - Constructor for exception jsimple.util.BasicException
 
binarySearch(T[], T, Comparator<T>) - Static method in class jsimple.util.Arrays
Performs a binary search for the specified element in the specified sorted array using the Comparator to compare elements.
binarySearch(T[], int, int, T, Comparator<T>) - Static method in class jsimple.util.Arrays
Performs a binary search for the specified element in a part of the specified sorted array using the Comparator to compare elements.
bitCount(int) - Static method in class jsimple.util.IntegerUtil
Counts the number of 1 bits in the specified integer; this is also referred to as population count.
bitCount(long) - Static method in class jsimple.util.LongUtil
Counts the number of 1 bits in the specified long value; this is also referred to as population count.
BoxedInteger - Class in jsimple.util
Created by bretjohn on 1/5/2015.
BoxedLong - Class in jsimple.util
Created by bretjohn on 1/5/2015.
buf - Variable in class jsimple.io.ByteArrayInputStream
The byte array containing the bytes to stream over.
buffer - Variable in class jsimple.io.ByteArrayOutputStream
The byte array containing the bytes written.
BUFFER_SIZE - Static variable in class jsimple.io.MurmurHash3
 
BufferedReader - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.BufferedReader class.
BufferedReader(Reader) - Constructor for class jsimple.io.BufferedReader
Constructs a new BufferedReader on the Reader in.
BufferedReader(Reader, int) - Constructor for class jsimple.io.BufferedReader
Constructs a new BufferedReader on the Reader in.
build() - Method in class jsimple.oauth.builder.ServiceBuilder
Returns the fully configured OAuthService
byteArrayFromBytes(int...) - Static method in class jsimple.util.Utils
Return an array of bytes containing as elements this method's parameters.
ByteArrayInputStream - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.ByteArrayInputStream class.
ByteArrayInputStream(byte[]) - Constructor for class jsimple.io.ByteArrayInputStream
Constructs a new ByteArrayInputStream on the byte array buf.
ByteArrayInputStream(ByteArrayRange) - Constructor for class jsimple.io.ByteArrayInputStream
Constructs a new ByteArrayInputStream on the byte array range.
ByteArrayInputStream(byte[], int, int) - Constructor for class jsimple.io.ByteArrayInputStream
Constructs a new ByteArrayInputStream on the byte array buf with the initial position set to offset and the number of bytes available set to offset + length.
ByteArrayOutputStream - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.ByteArrayOutputStream class.
ByteArrayOutputStream() - Constructor for class jsimple.io.ByteArrayOutputStream
Constructs a new ByteArrayOutputStream with a default size of 32 bytes.
ByteArrayOutputStream(int) - Constructor for class jsimple.io.ByteArrayOutputStream
Constructs a new ByteArrayOutputStream with a default size of size bytes.
ByteArrayRange - Class in jsimple.util
This class represents a subset of a byte array, starting at the specified position & of the specified length.
ByteArrayRange(byte[], int, int) - Constructor for class jsimple.util.ByteArrayRange
 
ByteArrayRange(byte[]) - Constructor for class jsimple.util.ByteArrayRange
 

C

callback(String) - Method in class jsimple.oauth.builder.ServiceBuilder
Adds an OAuth callback url
CALLBACK - Static variable in class jsimple.oauth.model.OAuthConstants
 
CharacterUtil - Class in jsimple.util
The wrapper for the primitive type char.
CharacterUtil() - Constructor for class jsimple.util.CharacterUtil
 
CharConversionException - Exception in jsimple.io
This is a platform independent class used to represent character conversion exceptions (e.g.
CharConversionException(Throwable) - Constructor for exception jsimple.io.CharConversionException
 
CharConversionException(String) - Constructor for exception jsimple.io.CharConversionException
 
CharConversionException(String, Throwable) - Constructor for exception jsimple.io.CharConversionException
 
check(TokenType) - Method in class jsimple.json.text.Token
Validate that the token is the expected type (throwing an exception if it isn't).
checkAndAdvance(TokenType) - Method in class jsimple.json.text.Token
Validate that the token is the expected type (throwing an exception if it isn't), then advance to the next token.
checkAndAdvance(char) - Method in class jsimple.util.StringIterator
Verify that the current character is c, throwing an exception if it isn't, then advance to the next character.
clear() - Method in class jsimple.util.ArrayList
Removes all elements from this ArrayList, leaving it empty.
clear() - Method in class jsimple.util.Collection
Removes all elements from this Collection, leaving it empty (optional).
clear() - Method in class jsimple.util.HashMap
Removes all mappings from this hash map, leaving it empty.
clear() - Method in class jsimple.util.HashSet
Removes all elements from this HashSet, leaving it empty.
clear() - Method in class jsimple.util.Map
Removes all elements from this Map, leaving it empty.
CLIENT_ID - Static variable in class jsimple.oauth.model.OAuthConstants
 
CLIENT_SECRET - Static variable in class jsimple.oauth.model.OAuthConstants
 
close() - Method in class jsimple.io.BufferedReader
Closes this reader.
close() - Method in class jsimple.io.ByteArrayInputStream
 
close() - Method in class jsimple.io.InputStream
Closes this stream.
close() - Method in class jsimple.io.JSimpleInputStreamOnJavaStream
 
close() - Method in class jsimple.io.OutputStream
Closes this stream, freeing any resources associated with it and then calling the closedListener, if one is set.
close() - Method in class jsimple.io.SequenceInputStream
Closes all streams in this sequence of input stream.
close() - Method in class jsimple.io.StringReader
Closes this reader.
close() - Method in class jsimple.io.StringWriter
Calling this method has no effect.
close() - Method in class jsimple.io.SubstreamInputStream
For a SubstreamInputStream we of course don't want to close the outer stream when this stream is closed, as there's more of the outer stream that follows this one.
close() - Method in class jsimple.io.Utf8InputStreamReader
Closes this reader.
close() - Method in class jsimple.io.Utf8OutputStreamWriter
 
close() - Method in class jsimple.io.Writer
Closes this writer.
close() - Method in class jsimple.json.readerwriter.JsonArrayWriter
Finish the serialization, outputting the closing bracket and returning the resulting string.
close() - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
close() - Method in class jsimple.lang.AutoCloseable
 
close() - Method in class jsimple.logging.stdimpl.LogEnterLeaveStdImpl
 
close() - Method in class jsimple.net.JavaHttpResponse
 
close() - Method in class jsimple.net.JavaHttpResponse.EmptyInputStream
 
close() - Method in class jsimple.net.JavaSocket
 
closeAndGetByteArray() - Method in class jsimple.io.ByteArrayOutputStream
Closes the stream and returns its contents as a ByteArrayRange.
ClosedListener - Interface in jsimple.io
 
CODE - Static variable in class jsimple.oauth.model.OAuthConstants
 
Collection<E> - Class in jsimple.util
Collection is the root of the collection hierarchy.
Collection() - Constructor for class jsimple.util.Collection
Constructs a new instance of this AbstractCollection.
Comparable<T> - Interface in jsimple.lang
This interface should be implemented by all classes that wish to define a natural order of their instances.
Comparator<T> - Interface in jsimple.util
A Comparator is used to compare two objects to determine their ordering with respect to each other.
compare(T, T) - Method in interface jsimple.util.Comparator
Compares the two specified objects to determine their relative ordering.
compare(long, long) - Static method in class jsimple.util.Utils
 
compare(double, double) - Static method in class jsimple.util.Utils
 
compareTo(T) - Method in interface jsimple.lang.Comparable
Compares this object to the specified object to determine their relative order.
compareTo(Parameter) - Method in class jsimple.oauth.model.Parameter
 
CONSUMER_KEY - Static variable in class jsimple.oauth.model.OAuthConstants
 
CONSUMER_SECRET - Static variable in class jsimple.oauth.model.OAuthConstants
 
contains(Parameter) - Method in class jsimple.oauth.model.ParameterList
 
contains(E) - Method in class jsimple.util.ArrayList
Searches this ArrayList for the specified object.
contains(E) - Method in class jsimple.util.Collection
Tests whether this Collection contains the specified object.
contains(E) - Method in class jsimple.util.HashSet
Searches this HashSet for the specified object.
containsAll(Collection<E>) - Method in class jsimple.util.Collection
Tests whether this Collection contains all objects contained in the specified Collection.
containsKey(String) - Method in class jsimple.json.objectmodel.JsonObject
Return true if the object contains the specified key, false otherwise.
containsKey(K) - Method in class jsimple.util.HashMap
Returns whether this map contains the specified key.
containsKey(K) - Method in class jsimple.util.Map
Returns whether this Map contains the specified key.
containsValue(V) - Method in class jsimple.util.HashMap
Returns whether this map contains the specified value.
containsValue(V) - Method in class jsimple.util.Map
Returns whether this Map contains the specified value.
copyBytes(byte[], int, byte[], int, int) - Static method in class jsimple.util.PlatformUtils
Copy data from source byte array to destination byte array.
copyChars(char[], int, char[], int, int) - Static method in class jsimple.util.PlatformUtils
Copy data from source char array to destination char array.
copyChars(String, int, char[], int, int) - Static method in class jsimple.util.PlatformUtils
Copy characters from source string to destination char array.
copyTo(OutputStream) - Method in class jsimple.io.File
Copy the contents of this file to the specified output stream.
copyTo(OutputStream) - Method in class jsimple.io.InputStream
Write the remaining contents of this stream to the specified output stream, closing this input stream when done.
copyToByteArray() - Method in class jsimple.io.InputStream
Write the remaining contents of this stream to a byte array, closing this input stream when done.
count - Variable in class jsimple.io.ByteArrayInputStream
The total number of bytes initially available in the byte array buf.
count - Variable in class jsimple.io.ByteArrayOutputStream
The number of bytes written.
countTokens() - Method in class jsimple.util.StringTokenizer
Returns the number of unprocessed tokens remaining in the string.
create() - Method in class jsimple.io.Directory
Create the directory, if it doesn't already exist.
create() - Method in class jsimple.io.FileSystemDirectory
 
create(String) - Static method in class jsimple.net.HttpRequest
Create an HttpRequest, using the global factory.
createArrayProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createBooleanProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createDirectory(String) - Method in class jsimple.io.Directory
Get the child directory, creating it if it doesn't already exist.
createDoubleProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createHttpRequest(String) - Method in interface jsimple.net.HttpRequest.HttpRequestFactory
 
createHttpRequest(String) - Method in class jsimple.net.JavaHttpRequest.JavaHttpRequestFactory
 
createIntProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createLongProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createObjectProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createRequestBodyStream() - Method in class jsimple.net.HttpRequest
Returns an output stream that writes to this connection.
createRequestBodyStream() - Method in class jsimple.net.JavaHttpRequest
 
createService(OAuthConfig) - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the OAuthService for this Api
createService(OAuthConfig) - Method in class jsimple.oauth.builder.api.DefaultOAuthApi20
Creates an OAuthService
createService(OAuthConfig) - Method in interface jsimple.oauth.builder.api.OAuthApi
Creates an OAuthService
createStringProperty(String, int) - Method in class jsimple.json.readerwriter.JsonObjectType
 
createTcpSocketListener(SocketConnectionHandler, int) - Method in class jsimple.net.JavaTcpSocketListener.JavaSocketListenerFactory
 
createTcpSocketListener(SocketConnectionHandler, int) - Static method in class jsimple.net.SocketListener
Create TCP SocketListener, using the global factory.
createTcpSocketListener(SocketConnectionHandler, int) - Method in interface jsimple.net.SocketListener.SocketListenerFactory
 
curr() - Method in class jsimple.util.StringIterator
 
currentTimeOverride - Static variable in class jsimple.util.PlatformUtilsBase
 

D

DateTime - Class in jsimple.util
This class represents a date/time, allowing the normal JSimple representation of time in millis (milliseconds since Jan.
DateTime(long) - Constructor for class jsimple.util.DateTime
Constructs an instance set to the milliseconds from 1970-01-01T00:00:00Z using ISOChronology in the default time zone.
DateTime(int, int, int, int, int) - Constructor for class jsimple.util.DateTime
Constructs an instance from datetime field values using ISOChronology in the default time zone.
DateTime(int, int, int, int, int, int) - Constructor for class jsimple.util.DateTime
Constructs an instance from datetime field values using ISOChronology in the default time zone.
DateTime(int, int, int, int, int, int, int) - Constructor for class jsimple.util.DateTime
Constructs an instance from datetime field values using ISOChronology in the default time zone.
DEBUG - Static variable in class jsimple.logging.Level
 
debug(String) - Method in class jsimple.logging.Logger
Log a message at the DEBUG level.
debug(String, Object) - Method in class jsimple.logging.Logger
Log a message at the DEBUG level according to the specified format and argument.
debug(String, Object, Object) - Method in class jsimple.logging.Logger
Log a message at the DEBUG level according to the specified format and arguments.
debug(String, Object...) - Method in class jsimple.logging.Logger
Log a message at the DEBUG level according to the specified format and arguments.
debug(String, Throwable) - Method in class jsimple.logging.Logger
Log an exception (throwable) at the DEBUG level with an accompanying message.
debugEnterLeave(String) - Method in class jsimple.logging.Logger
 
debugEnterLeave(String, Object...) - Method in class jsimple.logging.Logger
 
debugLogger(OAuthLogger) - Method in class jsimple.oauth.builder.ServiceBuilder
 
decode(String) - Static method in class jsimple.net.UrlDecoder
Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the specified encoding scheme.
decode(String) - Static method in class jsimple.oauth.utils.OAuthEncoder
 
decode(String) - Method in class jsimple.util.Base64
Decodes a String containing containing characters in the Base64 alphabet.
decode(byte[]) - Method in class jsimple.util.Base64
Decodes a byte[] containing containing characters in the Base64 alphabet.
decode(String) - Static method in class jsimple.util.IntegerUtil
Parses the specified string and returns an int if the string can be decoded into an integer value.
decode(String) - Static method in class jsimple.util.LongUtil
Parses the specified string and returns a long if the string can be decoded into a long value.
decodeBase64(String) - Static method in class jsimple.util.Base64
Decodes a Base64 String into octets
decodeBase64(byte[]) - Static method in class jsimple.util.Base64
Decodes Base64 data into octets
decodePath(String) - Static method in class jsimple.net.UrlDecoder
Decode a path, delimited with "/" characters.
DEFAULT_CONTENT_TYPE - Static variable in class jsimple.oauth.model.OAuthRequest
 
DefaultOAuthApi10a - Class in jsimple.oauth.builder.api
Default implementation of the OAuth protocol, version 1.0a

This class is meant to be extended by concrete implementations of the API, providing the endpoints and endpoint-http-verbs.

DefaultOAuthApi10a() - Constructor for class jsimple.oauth.builder.api.DefaultOAuthApi10a
 
DefaultOAuthApi20 - Class in jsimple.oauth.builder.api
Default implementation of the OAuth protocol, version 2.0 (draft 11)

This class is meant to be extended by concrete implementations of the API, providing the endpoints and endpoint-http-verbs.

DefaultOAuthApi20() - Constructor for class jsimple.oauth.builder.api.DefaultOAuthApi20
 
defaultValue() - Static method in class jsimple.util.PlatformUtils
 
delete() - Method in class jsimple.io.Directory
Delete this directory.
delete() - Method in class jsimple.io.File
Delete this file if it exists.
delete() - Method in class jsimple.io.FileSystemDirectory
 
delete() - Method in class jsimple.io.FileSystemFile
 
DELETE - Static variable in class jsimple.oauth.model.Verb
 
deleteContents() - Method in class jsimple.io.Directory
Delete the contents of this directory, recursi vely.
digest() - Method in class jsimple.oauth.utils.Sha1
Finishes computing the digest & then returns it.
digest(byte[]) - Method in class jsimple.oauth.utils.Sha1
Does a final update, with the passed input, then computes the SHA1 digest, which is returned.
DIGEST_SIZE - Static variable in class jsimple.oauth.utils.Sha1
size of a SHA-1 digest in octets
digit(char, int) - Static method in class jsimple.util.IntegerUtil
Determine the value of the specified character c in the supplied radix.
Directory - Class in jsimple.io
 
Directory() - Constructor for class jsimple.io.Directory
 
DirectoryVisitor - Interface in jsimple.io
 
distinctElements(List<E>) - Static method in class jsimple.util.ListUtils
Return a list of all distinct elements in the list, removing any duplicates.
doClose() - Method in class jsimple.io.ByteArrayOutputStream
Closes this stream.
doClose() - Method in class jsimple.io.JSimpleOutputStreamOnJavaStream
 
doClose() - Method in class jsimple.io.OutputStream
This is an internal method, implemented by subclasses to close any resources associated with the stream.
doubleToRawLongBits(double) - Static method in class jsimple.util.PlatformUtils
Encode a double in a long.
DoubleUtil - Class in jsimple.util
The wrapper for the primitive type double.
DoubleUtil() - Constructor for class jsimple.util.DoubleUtil
 
DropBoxOAuthApi - Class in jsimple.oauth.builder.api
 
DropBoxOAuthApi() - Constructor for class jsimple.oauth.builder.api.DropBoxOAuthApi
 

E

EMPTY_TOKEN - Static variable in class jsimple.oauth.model.OAuthConstants
 
EmptyInputStream() - Constructor for class jsimple.net.JavaHttpResponse.EmptyInputStream
 
encode(String) - Static method in class jsimple.net.UrlEncoder
Encodes the given string s in a x-www-form-urlencoded string using UTF8 character encoding.
encode(TextualPath) - Static method in class jsimple.net.UrlEncoder
 
encode(String) - Static method in class jsimple.oauth.utils.OAuthEncoder
 
encode(byte[]) - Method in class jsimple.util.Base64
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
encodeBase64(byte[]) - Static method in class jsimple.util.Base64
Encodes binary data using the base64 algorithm.
encodeBase64String(byte[]) - Static method in class jsimple.util.Base64
Encodes binary data using the base64 algorithm.
ensureCapacity(int) - Method in class jsimple.util.ArrayList
Ensures that after this operation the ArrayList can hold the specified number of elements without further growing.
entrySet() - Method in class jsimple.util.HashMap
Returns a set containing all of the mappings in this map.
entrySet() - Method in class jsimple.util.Map
Returns a Set containing all of the mappings in this Map.
equals(Object) - Method in class jsimple.oauth.model.Parameter
 
equals(T[], T[]) - Static method in class jsimple.util.Arrays
Compares the two arrays.
equals(Object) - Method in class jsimple.util.BoxedInteger
 
equals(Object) - Method in class jsimple.util.BoxedLong
 
equals(Object) - Method in class jsimple.util.DateTime
 
equals(Object) - Method in class jsimple.util.List
By default, equals isn't supported for lists or other collections, though subclasses can choose to override this behavior if they want.
equals(Object) - Method in class jsimple.util.Map
By default, equals isn't supported for maps or other collections, though subclasses can choose to override this behavior if they want.
equals(Object) - Method in interface jsimple.util.MapEntry
Compares the specified object to this Map.Entry and returns if they are equal.
equals(Object) - Method in class jsimple.util.Set
By default, equals isn't supported for sets or other collections, though subclasses can choose to override this behavior if they want.
equals(Object) - Method in class jsimple.util.TextualPath
 
equalsNullable(Object, Object) - Static method in class jsimple.util.Utils
Return true if the two objects are equal, according to their equals method.
ERROR - Static variable in class jsimple.logging.Level
 
error(String) - Method in class jsimple.logging.Logger
Log a message at the ERROR level.
error(String, Object) - Method in class jsimple.logging.Logger
Log a message at the ERROR level according to the specified format and argument.
error(String, Object, Object) - Method in class jsimple.logging.Logger
Log a message at the ERROR level according to the specified format and arguments.
error(String, Object...) - Method in class jsimple.logging.Logger
Log a message at the ERROR level according to the specified format and arguments.
error(String, Throwable) - Method in class jsimple.logging.Logger
Log an exception (throwable) at the ERROR level with an accompanying message.
exists() - Method in class jsimple.io.Directory
See if the directory exists.
exists() - Method in class jsimple.io.File
See if the file exists.
exists() - Method in class jsimple.io.FileSystemDirectory
 
exists() - Method in class jsimple.io.FileSystemFile
 
exit(int) - Static method in class jsimple.util.PlatformUtils
Causes the virtual machine to stop running and the program to exit.
extract(String) - Method in interface jsimple.oauth.extractors.AccessTokenExtractor
Extracts the access token from the contents of an Http Response
extract(OAuthRequest) - Method in interface jsimple.oauth.extractors.BaseStringExtractor
Extracts an url-encoded base string from the OAuthRequest.
extract(OAuthRequest) - Method in class jsimple.oauth.extractors.BaseStringExtractorImpl
Extracts an url-encoded base string from the OAuthRequest.
extract(OAuthRequest) - Method in interface jsimple.oauth.extractors.HeaderExtractor
Generates an OAuth 'Authorization' Http header to include in requests as the signature.
extract(OAuthRequest) - Method in class jsimple.oauth.extractors.HeaderExtractorImpl
Generates an OAuth 'Authorization' Http header to include in requests as the signature.
extract(String) - Method in class jsimple.oauth.extractors.JsonTokenExtractor
 
extract(String) - Method in interface jsimple.oauth.extractors.RequestTokenExtractor
Extracts the request token from the contents of an Http Response
extract(String) - Method in class jsimple.oauth.extractors.TokenExtractor20Impl
Extracts the access token from the contents of an Http Response
extract(String) - Method in class jsimple.oauth.extractors.TokenExtractorImpl
Extracts the request token from the contents of an Http Response

F

FacebookOAuthApi - Class in jsimple.oauth.builder.api
 
FacebookOAuthApi() - Constructor for class jsimple.oauth.builder.api.FacebookOAuthApi
 
fail(String) - Method in class jsimple.unit.UnitTest
 
fail(String) - Method in class jsimple.unit.UnitTestBase
Fails a test with the given message.
fail() - Method in class jsimple.unit.UnitTestBase
Fails a test with no message.
File - Class in jsimple.io
 
File() - Constructor for class jsimple.io.File
 
FileSystemDirectory - Class in jsimple.io
 
FileSystemDirectory(String) - Constructor for class jsimple.io.FileSystemDirectory
 
FileSystemDirectory(File) - Constructor for class jsimple.io.FileSystemDirectory
 
FileSystemFile - Class in jsimple.io
 
FileSystemFile(FileSystemDirectory, String) - Constructor for class jsimple.io.FileSystemFile
 
FileSystemFile(FileSystemDirectory, File) - Constructor for class jsimple.io.FileSystemFile
 
FileVisitor - Interface in jsimple.io
 
fill(T[], T) - Static method in class jsimple.util.Arrays
Fills the specified array with the specified element.
fill(T[], int, int, T) - Static method in class jsimple.util.Arrays
Fills the specified range in the array with the specified element.
finalize() - Method in class jsimple.io.InputStream
 
FlickrOAuthApi - Class in jsimple.oauth.builder.api
OAuth API for Flickr.
FlickrOAuthApi() - Constructor for class jsimple.oauth.builder.api.FlickrOAuthApi
 
flush() - Method in class jsimple.io.JSimpleOutputStreamOnJavaStream
 
flush() - Method in class jsimple.io.OutputStream
Flushes this stream.
flush() - Method in class jsimple.io.StringWriter
Calling this method has no effect.
flush() - Method in class jsimple.io.Utf8OutputStreamWriter
Flushes this writer.
flush() - Method in class jsimple.io.Writer
Flushes this writer.
flush() - Method in class jsimple.json.text.Serializer
 
format(String, Object) - Static method in class jsimple.util.MessageFormatter
Performs single argument substitution for the 'messagePattern' passed as parameter.
format(String, Object, Object) - Static method in class jsimple.util.MessageFormatter
Performs a two argument substitution for the 'messagePattern' passed as parameter.
FormattingTuple(String) - Constructor for class jsimple.util.MessageFormatter.FormattingTuple
 
FormattingTuple(String, Object[], Throwable) - Constructor for class jsimple.util.MessageFormatter.FormattingTuple
 

G

get(int) - Method in class jsimple.json.objectmodel.JsonArray
Return the value at the specified index.
get(String) - Method in class jsimple.json.objectmodel.JsonObject
Return the value of the specified key.
GET - Static variable in class jsimple.oauth.model.Verb
 
get(int) - Method in class jsimple.util.ArrayList
 
get(K) - Method in class jsimple.util.HashMap
Returns the value of the mapping with the specified key
get(int) - Method in class jsimple.util.List
Returns the element at the specified location in this list.
get(K) - Method in class jsimple.util.Map
Returns the value of the mapping with the specified key
getAccessToken(Token, Verifier) - Method in class jsimple.oauth.oauth.OAuth10aServiceImpl
Retrieve the access token
getAccessToken(Token, Verifier) - Method in class jsimple.oauth.oauth.OAuth20ServiceImpl
Retrieve the access token
getAccessToken(Token, Verifier) - Method in interface jsimple.oauth.oauth.OAuthService
Retrieve the access token
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the URL that receives the access token requests.
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi20
Returns the URL that receives the access token requests.
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.DropBoxOAuthApi
 
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.FacebookOAuthApi
 
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.FlickrOAuthApi
Returns the URL that receives the access token requests.
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.GoogleOAuthApi
 
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.LiveOAuthApi
 
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.Px500OAuthApi
 
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.TumblrOAuthApi
 
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.TwitterOAuthApi
 
getAccessTokenEndpoint() - Method in class jsimple.oauth.builder.api.TwitterOAuthApi.SSL
 
getAccessTokenExtractor() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the access token extractor.
getAccessTokenExtractor() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi20
Returns the access token extractor.
getAccessTokenExtractor() - Method in class jsimple.oauth.builder.api.LiveOAuthApi
 
getAccessTokenVerb() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the method for the access token endpoint (defaults to POST)
getAccessTokenVerb() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi20
Returns the verb for the access token endpoint (defaults to GET)
getAccessTokenVerb() - Method in class jsimple.oauth.builder.api.GoogleOAuthApi
 
getApiKey() - Method in class jsimple.oauth.model.OAuthConfig
 
getApiSecret() - Method in class jsimple.oauth.model.OAuthConfig
 
getApplicationDataDirectory() - Method in class jsimple.io.JavaPaths
This method is defined to return the directory where the application should store its private data.
getApplicationDataDirectory() - Method in class jsimple.io.Paths
 
getArgArray() - Method in class jsimple.util.MessageFormatter.FormattingTuple
 
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the URL where you should redirect your users to authenticate your application.
getAuthorizationUrl(OAuthConfig) - Method in class jsimple.oauth.builder.api.DefaultOAuthApi20
Returns the URL where you should redirect your users to authenticate your application.
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.DropBoxOAuthApi
 
getAuthorizationUrl(OAuthConfig) - Method in class jsimple.oauth.builder.api.FacebookOAuthApi
 
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.FlickrOAuthApi
Returns the URL where you should redirect your users to authenticate your application.
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.GoogleOAuthApi
 
getAuthorizationUrl(OAuthConfig) - Method in class jsimple.oauth.builder.api.LiveOAuthApi
 
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.Px500OAuthApi
 
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.TumblrOAuthApi
 
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.TwitterOAuthApi.Authenticate
 
getAuthorizationUrl(Token) - Method in class jsimple.oauth.builder.api.TwitterOAuthApi
 
getAuthorizationUrl(Token) - Method in class jsimple.oauth.oauth.OAuth10aServiceImpl
Returns the URL where you should redirect your users to authenticate your application.
getAuthorizationUrl(Token) - Method in class jsimple.oauth.oauth.OAuth20ServiceImpl
Returns the URL where you should redirect your users to authenticate your application.
getAuthorizationUrl(Token) - Method in interface jsimple.oauth.oauth.OAuthService
Returns the URL where you should redirect your users to authenticate your application.
getBaseStringExtractor() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the base string extractor.
getBody() - Method in class jsimple.oauth.model.OAuthResponse
Obtains the HTTP Response body
getBodyParams() - Method in class jsimple.oauth.model.OAuthRequest
Obtains a ParameterList of the body parameters.
getBodyStream() - Method in class jsimple.net.HttpResponse
Returns an input stream that reads from this open connection.
getBodyStream() - Method in class jsimple.net.JavaHttpResponse
 
getBodyStream() - Method in class jsimple.oauth.model.OAuthResponse
Obtains the meaningful stream of the HttpUrlConnection, either inputStream or errorInputStream, depending on the status code
getBoolean(int) - Method in class jsimple.json.objectmodel.JsonArray
 
getBoolean(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getBooleanOrDefault(String, boolean) - Method in class jsimple.json.objectmodel.JsonObject
 
getBuffer() - Method in class jsimple.io.StringWriter
Gets a reference to this writer's internal StringBuilder.
getByteArray() - Method in class jsimple.io.ByteArrayOutputStream
Returns the contents of this ByteArrayOutputStream as a byte array.
getBytes() - Method in class jsimple.util.ByteArrayRange
 
getCallback() - Method in class jsimple.oauth.model.OAuthConfig
 
getClosedListener() - Method in class jsimple.io.OutputStream
 
getCode() - Method in class jsimple.oauth.model.OAuthResponse
Obtains the HTTP status code
getCompleteUrl() - Method in class jsimple.oauth.model.OAuthRequest
Returns the complete url (host + resource + encoded querystring parameters).
getCurrentTimeMillis() - Static method in class jsimple.util.PlatformUtilsBase
Get the number of milliseconds since Jan 1, 1970, UTC time.
getDayOfMonth() - Method in class jsimple.util.DateTime
Get the day of month field value.
getDayOfWeek() - Method in class jsimple.util.DateTime
Get the day of week.
getDayOfYear() - Method in class jsimple.util.DateTime
Get the day of year field value.
getDefaultAppenders() - Method in class jsimple.logging.stdimpl.StdLoggerFactory
Return the current default list of appenders that are configured.
getDefaultDisplayName() - Method in class jsimple.logging.Level
 
getDefaultLevel() - Method in class jsimple.logging.stdimpl.StdLoggerFactory
 
getDescription() - Method in class jsimple.json.text.Token
Get a user friendly description of the token.
getDirectory(String) - Method in class jsimple.io.Directory
Get the child directory, which may or may not already exist.
getDirectory(String) - Method in class jsimple.io.FileSystemDirectory
 
getDouble(int) - Method in class jsimple.json.objectmodel.JsonArray
 
getDouble(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getDoubleOrDefault(String, double) - Method in class jsimple.json.objectmodel.JsonObject
 
getDoubleOrNull(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getExceptionDescription(Throwable) - Static method in class jsimple.util.PlatformUtils
Get the message + stack trace associated with this exception.
getFile(String) - Method in class jsimple.io.Directory
Get a file under the directory, which may or may not already exist.
getFile(String) - Method in class jsimple.io.FileSystemDirectory
 
getFileSystemDirectory(String) - Method in class jsimple.io.JavaPaths
 
getFileSystemDirectory(String) - Method in class jsimple.io.Paths
Return the file system Directory object corresponding to the string serialized representation.
getFirstElement() - Method in class jsimple.util.TextualPath
 
getFormattedMessage() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getFormattedMessage() - Method in class jsimple.util.MessageFormatter.FormattingTuple
 
getHash128() - Method in class jsimple.io.MurmurHash3
 
getHash64() - Method in class jsimple.io.MurmurHash3
 
getHeader(String) - Method in class jsimple.net.HttpRequest
Returns the value of the named header or null if it's not set.
getHeader(String) - Method in class jsimple.net.HttpResponse
Get the value of the specified header or null if the header isn't present.
getHeader(String) - Method in class jsimple.net.JavaHttpRequest
 
getHeader(String) - Method in class jsimple.net.JavaHttpResponse
 
getHeader(String) - Method in class jsimple.oauth.model.OAuthResponse
Obtains a single HTTP Header value, or null if not present.
getHeaderExtractor() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the header extractor.
getHeaders() - Method in class jsimple.oauth.model.OAuthRequest
Returns the connection headers as a Map
getHourOfDay() - Method in class jsimple.util.DateTime
Get the hour of day field value.
getHttpResponse() - Method in class jsimple.oauth.model.OAuthResponse
 
getId() - Method in class jsimple.json.readerwriter.JsonProperty
 
getIndex() - Method in class jsimple.util.StringIterator
 
getInputStream() - Method in class jsimple.net.JavaSocket
 
getInputStream() - Method in class jsimple.net.Socket
 
getInstance() - Static method in class jsimple.io.Paths
 
getInt(int) - Method in class jsimple.json.objectmodel.JsonArray
 
getInt(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getIntOrDefault(String, int) - Method in class jsimple.json.objectmodel.JsonObject
 
getIntValue() - Method in class jsimple.logging.Level
 
getJavaFile() - Method in class jsimple.io.FileSystemDirectory
 
getJavaProjectDirectory() - Method in class jsimple.unit.UnitTest
 
getJavaProjectDirectory() - Method in class jsimple.unit.UnitTestBase
Get the Java project directory, with the Java source etc.
getJsonArray(int) - Method in class jsimple.json.objectmodel.JsonArray
 
getJsonArray(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getJsonArrayOrNull(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getJsonObject(int) - Method in class jsimple.json.objectmodel.JsonArray
 
getJsonObject(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getJsonObjectOrNull(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getKey() - Method in interface jsimple.util.MapEntry
Returns the key.
getLastElement() - Method in class jsimple.util.TextualPath
 
getLastModifiedTime() - Method in class jsimple.io.Directory
 
getLastModifiedTime() - Method in class jsimple.io.File
Get the last modified / last write timestamp of this file.
getLastModifiedTime() - Method in class jsimple.io.FileSystemDirectory
 
getLastModifiedTime() - Method in class jsimple.io.FileSystemFile
 
getLastModifiedTime() - Method in class jsimple.io.PathAttributes
 
getLength() - Method in class jsimple.io.ByteArrayOutputStream
Returns the total number of bytes written to this stream so far.
getLength() - Method in class jsimple.util.ByteArrayRange
 
getLength() - Method in class jsimple.util.TextualPath
Get the length of the path, the number of path elements contained in it.
getLevel() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getLineSeparator() - Method in class jsimple.io.Writer
Get the line separator being used for this writer.
getLineSeparator() - Static method in class jsimple.util.PlatformUtils
Get the default line separator (typically newline or carriage return/newline) for the platform.
getLogger(String) - Method in interface jsimple.logging.ILoggerFactory
Return an appropriate Logger instance as specified by the name parameter.
getLogger(String) - Static method in class jsimple.logging.LoggerFactory
Return a logger named according to the name parameter using the statically bound ILoggerFactory instance.
getLogger(String) - Method in class jsimple.logging.stdimpl.StdLoggerFactory
Return an appropriate Logger instance as specified by the name parameter.
getLoggerName() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getLong(int) - Method in class jsimple.json.objectmodel.JsonArray
 
getLong(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getLongOrDefault(String, long) - Method in class jsimple.json.objectmodel.JsonObject
 
getLookahead() - Method in class jsimple.util.MatchBuilder
 
getMessage() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getMessageArgs() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getMillisOfSecond() - Method in class jsimple.util.DateTime
Get the millis of second field value.
getMinuteOfHour() - Method in class jsimple.util.DateTime
Get the minute of hour field value.
getMonthOfYear() - Method in class jsimple.util.DateTime
Get the month of year field value.
getName() - Method in class jsimple.io.FileSystemDirectory
 
getName() - Method in class jsimple.io.FileSystemFile
 
getName() - Method in class jsimple.io.Path
Get the name of this file/directory--the last component of the path.
getName(int) - Method in class jsimple.json.objectmodel.JsonObject
Get name at the specified index.
getName() - Method in class jsimple.json.readerwriter.JsonProperty
 
getName() - Method in class jsimple.logging.helpers.NOPLogger
Always returns the string value "NOP".
getName() - Method in class jsimple.logging.Logger
Return the name of this Logger instance.
getName() - Method in class jsimple.logging.stdimpl.StdLogger
 
getNameExtension(String) - Static method in class jsimple.io.Path
Get the extension (the text after the period) from the specified file/directory name.
getNames() - Method in class jsimple.net.HttpRequestParams
 
getNonce() - Method in interface jsimple.oauth.services.TimestampService
Returns a nonce (unique value for each request)
getNonce() - Method in class jsimple.oauth.services.TimestampServiceImpl
Returns a nonce (unique value for each request)
getOauthParameters() - Method in class jsimple.oauth.model.OAuthRequest
Returns the Map containing the key-value pair of parameters.
getOrNull(String) - Method in class jsimple.json.objectmodel.JsonObject
Return the value of the specified key.
getOutputStream() - Method in class jsimple.net.JavaSocket
 
getOutputStream() - Method in class jsimple.net.Socket
 
getParent() - Method in class jsimple.io.File
 
getParent() - Method in class jsimple.io.FileSystemFile
 
getParent() - Method in class jsimple.util.TextualPath
Get the parent of this path, containing all elements except the last.
getPathElements() - Method in class jsimple.util.TextualPath
 
getPathString() - Method in class jsimple.io.FileSystemDirectory
 
getPathString() - Method in class jsimple.io.FileSystemFile
 
getPathString() - Method in class jsimple.io.Path
Get the string representation of the full path for this file/directory.
getPort() - Method in class jsimple.net.SocketListener
Get the port.
getPosition() - Method in class jsimple.util.ByteArrayRange
 
getPrimitiveValue() - Method in class jsimple.json.text.Token
 
getProperty(String) - Method in class jsimple.json.readerwriter.JsonObjectType
 
getQuery() - Method in class jsimple.net.Url
Return the query part of the URL or null if there is no query party.
getQueryStringParams() - Method in class jsimple.oauth.model.OAuthRequest
Get a ParameterList with the query string parameters.
getRawResponse() - Method in class jsimple.oauth.model.Token
 
getRefreshTokenParameterName() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi20
I (Bret Johnson) merged in refresh token support from the scribe fork here: https://github.com/fernandezpablo85/scribe-java/pull/253
getRefreshTokenParameterName() - Method in class jsimple.oauth.builder.api.FacebookOAuthApi
 
getRefreshTokenParameterName() - Method in class jsimple.oauth.builder.api.LiveOAuthApi
 
getRemaining() - Method in class jsimple.util.StringIterator
 
getRequestToken() - Method in class jsimple.oauth.oauth.OAuth10aServiceImpl
Retrieve the request token.
getRequestToken() - Method in class jsimple.oauth.oauth.OAuth20ServiceImpl
Retrieve the request token.
getRequestToken() - Method in interface jsimple.oauth.oauth.OAuthService
Retrieve the request token.
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the URL that receives the request token requests.
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.DropBoxOAuthApi
 
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.FlickrOAuthApi
Returns the URL that receives the request token requests.
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.GoogleOAuthApi
 
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.Px500OAuthApi
 
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.TumblrOAuthApi
 
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.TwitterOAuthApi
 
getRequestTokenEndpoint() - Method in class jsimple.oauth.builder.api.TwitterOAuthApi.SSL
 
getRequestTokenExtractor() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the request token extractor.
getRequestTokenVerb() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the verb for the request token endpoint (defaults to POST)
getRequestTokenVerb() - Method in class jsimple.oauth.builder.api.GoogleOAuthApi
 
getSanitizedUrl() - Method in class jsimple.oauth.model.OAuthRequest
Returns the URL without the port and the query string part.
getScope() - Method in class jsimple.oauth.model.OAuthConfig
 
getSecondOfMinute() - Method in class jsimple.util.DateTime
Get the second of minute field value.
getSecret() - Method in class jsimple.oauth.model.Token
 
getSignature(String, String, String) - Method in class jsimple.oauth.services.HMACSha1SignatureService
Returns the signature
getSignature(String, String, String) - Method in class jsimple.oauth.services.PlaintextSignatureService
Returns the signature
getSignature(String, String, String) - Method in interface jsimple.oauth.services.SignatureService
Returns the signature
getSignatureMethod() - Method in class jsimple.oauth.services.HMACSha1SignatureService
Returns the signature method/algorithm
getSignatureMethod() - Method in class jsimple.oauth.services.PlaintextSignatureService
Returns the signature method/algorithm
getSignatureMethod() - Method in interface jsimple.oauth.services.SignatureService
Returns the signature method/algorithm
getSignatureService() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the signature service.
getSignatureType() - Method in class jsimple.oauth.model.OAuthConfig
 
getSize() - Method in class jsimple.io.File
Get the size of this file.
getSize() - Method in class jsimple.io.FileSystemFile
 
getSize() - Method in class jsimple.io.PathAttributes
 
getSocketConnectionHandler() - Method in class jsimple.net.SocketListener
 
getStatusCode() - Method in class jsimple.net.HttpResponse
Gets the status code from an HTTP response message (e.g.
getStatusCode() - Method in class jsimple.net.JavaHttpResponse
 
getStatusMessage() - Method in class jsimple.net.HttpResponse
Gets the message from the HTTP response status line--the "reason phrase" (which is what the RFC calls it) describing the error that comes after the status code.
getStatusMessage() - Method in class jsimple.net.JavaHttpResponse
 
getStdLogger(String) - Method in class jsimple.logging.stdimpl.StdLoggerFactory
 
getString(int) - Method in class jsimple.json.objectmodel.JsonArray
 
getString(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getString() - Method in class jsimple.util.StringIterator
 
getStringOrDefault(String, String) - Method in class jsimple.json.objectmodel.JsonObject
 
getStringOrNull(String) - Method in class jsimple.json.objectmodel.JsonObject
 
getTestOutputDirectory(String) - Method in class jsimple.io.Paths
Get the test output directory for the specified test name.
getThreadName() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getThrowable() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getThrowable() - Method in class jsimple.util.MessageFormatter.FormattingTuple
 
getTimestamp() - Method in class jsimple.logging.stdimpl.LoggingEvent
 
getTimestampInSeconds() - Method in interface jsimple.oauth.services.TimestampService
Returns the unix epoch timestamp in seconds
getTimestampInSeconds() - Method in class jsimple.oauth.services.TimestampServiceImpl
Returns the unix epoch timestamp in seconds
getTimestampService() - Method in class jsimple.oauth.builder.api.DefaultOAuthApi10a
Returns the timestamp service.
getTokenString() - Method in class jsimple.oauth.model.Token
 
getTokenType() - Method in class jsimple.json.objectmodel.ObjectModelParser
 
getType() - Method in class jsimple.json.text.Token
 
getUrl() - Method in class jsimple.oauth.model.OAuthRequest
Obtains the URL of the HTTP request.
getValue(int) - Method in class jsimple.json.objectmodel.JsonObject
Get value at the specified index.
getValue(String) - Method in class jsimple.net.HttpRequestParams
 
getValue() - Method in class jsimple.oauth.model.Verifier
 
getValue() - Method in interface jsimple.util.MapEntry
Returns the value.
getValueOrNull(String) - Method in class jsimple.net.HttpRequestParams
 
getVerb() - Method in class jsimple.oauth.model.OAuthRequest
Returns the HTTP Verb
getVersion() - Method in class jsimple.oauth.oauth.OAuth10aServiceImpl
Returns the OAuth version of the service.
getVersion() - Method in class jsimple.oauth.oauth.OAuth20ServiceImpl
Returns the OAuth version of the service.
getVersion() - Method in interface jsimple.oauth.oauth.OAuthService
Returns the OAuth version of the service.
getYear() - Method in class jsimple.util.DateTime
 
GoogleOAuthApi - Class in jsimple.oauth.builder.api
 
GoogleOAuthApi() - Constructor for class jsimple.oauth.builder.api.GoogleOAuthApi
 
GRANT_TYPE - Static variable in class jsimple.oauth.model.OAuthConstants
 

H

hashCode() - Method in class jsimple.oauth.model.Parameter
 
hashCode(T[]) - Static method in class jsimple.util.Arrays
Returns a hash code based on the contents of the given array.
hashCode() - Method in class jsimple.util.BoxedInteger
 
hashCode() - Method in class jsimple.util.BoxedLong
 
hashCode() - Method in class jsimple.util.DateTime
 
hashCode() - Method in class jsimple.util.List
Returns the hash code of this list.
hashCode() - Method in class jsimple.util.Map
Returns the hash code for this object.
hashCode() - Method in interface jsimple.util.MapEntry
Returns an integer hash code for the receiver.
hashCode() - Method in class jsimple.util.Set
Returns the hash code for this set.
hashCode() - Method in class jsimple.util.TextualPath
 
HashMap<K,V> - Class in jsimple.util
HashMap is an implementation of Map.
HashMap() - Constructor for class jsimple.util.HashMap
Constructs a new empty HashMap instance.
HashMap(int) - Constructor for class jsimple.util.HashMap
Constructs a new HashMap instance with the specified capacity.
HashMap(int, float) - Constructor for class jsimple.util.HashMap
Constructs a new HashMap instance with the specified capacity and load factor.
HashMap(Map<K, V>) - Constructor for class jsimple.util.HashMap
Constructs a new HashMap instance containing the mappings from the specified map.
HashSet<E> - Class in jsimple.util
HashSet is an implementation of a Set.
HashSet() - Constructor for class jsimple.util.HashSet
Constructs a new empty instance of HashSet.
HashSet(int) - Constructor for class jsimple.util.HashSet
Constructs a new instance of HashSet with the specified capacity.
HashSet(int, float) - Constructor for class jsimple.util.HashSet
Constructs a new instance of HashSet with the specified capacity and load factor.
HashSet(Collection<E>) - Constructor for class jsimple.util.HashSet
Constructs a new instance of HashSet containing the unique elements in the specified collection.
HashSet(E...) - Constructor for class jsimple.util.HashSet
Constructs a HashSet, with the specified initial members.
hasMoreElements() - Method in class jsimple.util.StringTokenizer
Returns true if unprocessed tokens remain.
hasMoreTokens() - Method in class jsimple.util.StringTokenizer
Returns true if unprocessed tokens remain.
hasNext() - Method in class jsimple.util.Iterator
Returns whether there are more elements to iterate, i.e.
hasScope() - Method in class jsimple.oauth.model.OAuthConfig
 
hasValue() - Method in class jsimple.util.OptionalInteger
 
HEADER - Static variable in class jsimple.oauth.model.OAuthConstants
 
HEADER_ACCEPT - Static variable in class jsimple.net.HttpRequest
 
HEADER_CONTENT_LENGTH - Static variable in class jsimple.net.HttpRequest
 
HEADER_CONTENT_TYPE - Static variable in class jsimple.net.HttpRequest
 
HEADER_USER_AGENT - Static variable in class jsimple.net.HttpRequest
 
HeaderExtractor - Interface in jsimple.oauth.extractors
Simple command object that generates an OAuth Authorization header to include in the request.
HeaderExtractorImpl - Class in jsimple.oauth.extractors
Default implementation of HeaderExtractor.
HeaderExtractorImpl() - Constructor for class jsimple.oauth.extractors.HeaderExtractorImpl
 
highestOneBit(int) - Static method in class jsimple.util.IntegerUtil
Determines the highest (leftmost) bit of the specified integer that is 1 and returns the bit mask value for that bit.
highestOneBit(long) - Static method in class jsimple.util.LongUtil
Determines the highest (leftmost) bit of the specified long value that is 1 and returns the bit mask value for that bit.
hitEnd() - Method in class jsimple.util.MatchBuilder
 
hmac(byte[], byte[]) - Static method in class jsimple.oauth.utils.Sha1
Compute the HMAC-SHA1 for the specified message & key.
HMACSha1SignatureService - Class in jsimple.oauth.services
HMAC-SHA1 implementation of SignatureService
HMACSha1SignatureService() - Constructor for class jsimple.oauth.services.HMACSha1SignatureService
 
HttpRequest - Class in jsimple.net
This class handles HTTP connectivity.
HttpRequest() - Constructor for class jsimple.net.HttpRequest
 
HttpRequest.HttpRequestFactory - Interface in jsimple.net
 
HttpRequestParams - Class in jsimple.net
HttpRequestParams represents a set of string name/value pairs which can (eventually) be passed as URL or form parameters for an HTTP request.
HttpRequestParams() - Constructor for class jsimple.net.HttpRequestParams
 
HttpResponse - Class in jsimple.net
This class handles http connectivity.
HttpResponse() - Constructor for class jsimple.net.HttpResponse
 

I

id - Variable in class jsimple.json.readerwriter.JsonProperty
 
ILoggerFactory - Interface in jsimple.logging
ILoggerFactory instances manufacture Logger instances by name.
indexOf(E) - Method in class jsimple.util.ArrayList
 
indexOf(E) - Method in class jsimple.util.List
Searches this List for the specified object and returns the index of the first occurrence.
INFO - Static variable in class jsimple.logging.Level
 
info(String) - Method in class jsimple.logging.Logger
Log a message at the INFO level.
info(String, Object) - Method in class jsimple.logging.Logger
Log a message at the INFO level according to the specified format and argument.
info(String, Object, Object) - Method in class jsimple.logging.Logger
Log a message at the INFO level according to the specified format and arguments.
info(String, Object...) - Method in class jsimple.logging.Logger
Log a message at the INFO level according to the specified format and arguments.
info(String, Throwable) - Method in class jsimple.logging.Logger
Log an exception (throwable) at the INFO level with an accompanying message.
init() - Static method in class jsimple.io.JSimpleIO
This method should be called before jsimple.net is used.
init(ILoggerFactory) - Static method in class jsimple.logging.LoggerFactory
 
init(Level) - Static method in class jsimple.logging.stdimpl.StdLoggerFactory
 
InputStream - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.InputStream class.
InputStream() - Constructor for class jsimple.io.InputStream
 
instance - Static variable in class jsimple.io.Paths
 
IntegerUtil - Class in jsimple.util
The wrapper for the primitive type int.
IntegerUtil() - Constructor for class jsimple.util.IntegerUtil
 
intValue() - Method in class jsimple.util.BoxedInteger
 
InvalidFormatException - Exception in jsimple.util
This is a generic exception class used to indicate the format of something isn't what it's expected to be.
InvalidFormatException(String) - Constructor for exception jsimple.util.InvalidFormatException
 
InvalidFormatException(String, Object) - Constructor for exception jsimple.util.InvalidFormatException
 
InvalidFormatException(String, Object, Object) - Constructor for exception jsimple.util.InvalidFormatException
 
InvalidFormatException(String, Object...) - Constructor for exception jsimple.util.InvalidFormatException
 
IOException - Exception in jsimple.io
This is a platform independent class used to represent I/O exceptions, taking the place of java.io.IOException in JSimple based code.
IOException(Throwable) - Constructor for exception jsimple.io.IOException
 
IOException(String) - Constructor for exception jsimple.io.IOException
 
IOException(String, Object) - Constructor for exception jsimple.io.IOException
 
IOException(String, Object, Object) - Constructor for exception jsimple.io.IOException
 
IOException(String, Object...) - Constructor for exception jsimple.io.IOException
 
IOUtils - Class in jsimple.io
 
IOUtils() - Constructor for class jsimple.io.IOUtils
 
isAsciiLetter() - Method in class jsimple.util.StringIterator
 
isBase64(byte) - Static method in class jsimple.util.Base64
Returns whether or not the octet is in the base 64 alphabet.
isClosed() - Method in class jsimple.net.JavaSocket
 
isClosed() - Method in class jsimple.net.Socket
 
isControlCharacter(char) - Static method in class jsimple.json.text.Token
Return true if the particular character should be considered a control character and specified via Unicode escape sequence in JSON.
isDebugEnabled() - Method in class jsimple.logging.Logger
Is the logger instance enabled for the DEBUG level?
isDigit() - Method in class jsimple.util.StringIterator
 
isEmpty() - Method in class jsimple.io.Directory
Check if this directory has any contents.
isEmpty() - Method in class jsimple.util.ArrayList
 
isEmpty() - Method in class jsimple.util.Collection
Returns if this Collection contains no elements.
isEmpty() - Method in class jsimple.util.HashMap
Returns whether this map is empty.
isEmpty() - Method in class jsimple.util.HashSet
Returns true if this HashSet has no elements, false otherwise.
isEmpty() - Method in class jsimple.util.Map
Returns whether this map is empty.
isEmpty() - Method in class jsimple.util.TextualPath
Check if the path is empty, having no elements.
isErrorEnabled() - Method in class jsimple.logging.Logger
Is the logger instance enabled for the ERROR level?
isInfoEnabled() - Method in class jsimple.logging.Logger
Is the logger instance enabled for the INFO level?
isLeapYear(int) - Static method in class jsimple.util.DateTime
 
isLevelEnabled(Level) - Method in class jsimple.logging.helpers.NOPLogger
For this logger, don't log anything.
isLevelEnabled(Level) - Method in class jsimple.logging.Logger
Is the logger instance enabled for the specified level?
isLevelEnabled(Level) - Method in class jsimple.logging.stdimpl.StdLogger
 
isLineBreak() - Method in class jsimple.util.StringIterator
 
isNullOrEmpty(String) - Static method in class jsimple.util.StringUtils
 
isSetLastModifiedTimeSupported() - Method in class jsimple.io.Directory
 
isSetLastModifiedTimeSupported() - Method in class jsimple.io.FileSystemDirectory
 
isSingleLine() - Method in class jsimple.json.readerwriter.JsonArrayWriter
 
isSingleLine() - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
isSpaceChar(char) - Static method in class jsimple.util.CharacterUtil
Indicates whether the specified character is a Unicode space character.
isTraceEnabled() - Method in class jsimple.logging.Logger
Is the logger instance enabled for the TRACE level?
isWarnEnabled() - Method in class jsimple.logging.Logger
Is the logger instance enabled for the WARN level?
isWhitespace() - Method in class jsimple.util.StringIterator
 
isWhitespaceOnSameLine() - Method in class jsimple.util.StringIterator
 
Iterable<E> - Class in jsimple.lang
Created by Bret on 11/28/2014.
Iterable() - Constructor for class jsimple.lang.Iterable
 
iterator() - Method in class jsimple.lang.Iterable
 
iterator() - Method in class jsimple.util.ArrayList
Returns an iterator on the elements of this list.
iterator() - Method in class jsimple.util.Collection
Returns an instance of Iterator that may be used to access the objects contained by this Collection.
iterator() - Method in class jsimple.util.HashSet
Returns an Iterator on the elements of this HashSet.
Iterator<E> - Class in jsimple.util
Created by Bret on 11/27/2014.
Iterator() - Constructor for class jsimple.util.Iterator
 

J

JavaHttpRequest - Class in jsimple.net
Java platform implementation of platform independent HttpRequest.
JavaHttpRequest(String) - Constructor for class jsimple.net.JavaHttpRequest
 
JavaHttpRequest.JavaHttpRequestFactory - Class in jsimple.net
 
JavaHttpRequestFactory() - Constructor for class jsimple.net.JavaHttpRequest.JavaHttpRequestFactory
 
JavaHttpResponse - Class in jsimple.net
Java platform implementation of platform independent HttpResponse.
JavaHttpResponse.EmptyInputStream - Class in jsimple.net
 
JavaIOUtils - Class in jsimple.io
 
JavaIOUtils() - Constructor for class jsimple.io.JavaIOUtils
 
JavaPaths - Class in jsimple.io
 
JavaPaths() - Constructor for class jsimple.io.JavaPaths
 
JavaSocket - Class in jsimple.net
 
JavaSocket(Socket) - Constructor for class jsimple.net.JavaSocket
 
JavaSocketListenerFactory() - Constructor for class jsimple.net.JavaTcpSocketListener.JavaSocketListenerFactory
 
JavaTcpSocketListener - Class in jsimple.net
 
JavaTcpSocketListener(SocketConnectionHandler, int) - Constructor for class jsimple.net.JavaTcpSocketListener
 
JavaTcpSocketListener.JavaSocketListenerFactory - Class in jsimple.net
 
jsimple.io - package jsimple.io
 
jsimple.json - package jsimple.json
 
jsimple.json.objectmodel - package jsimple.json.objectmodel
 
jsimple.json.readerwriter - package jsimple.json.readerwriter
 
jsimple.json.text - package jsimple.json.text
 
jsimple.lang - package jsimple.lang
 
jsimple.logging - package jsimple.logging
 
jsimple.logging.helpers - package jsimple.logging.helpers
 
jsimple.logging.stdimpl - package jsimple.logging.stdimpl
 
jsimple.net - package jsimple.net
 
jsimple.oauth.builder - package jsimple.oauth.builder
 
jsimple.oauth.builder.api - package jsimple.oauth.builder.api
 
jsimple.oauth.exceptions - package jsimple.oauth.exceptions
 
jsimple.oauth.extractors - package jsimple.oauth.extractors
 
jsimple.oauth.model - package jsimple.oauth.model
 
jsimple.oauth.oauth - package jsimple.oauth.oauth
 
jsimple.oauth.services - package jsimple.oauth.services
 
jsimple.oauth.utils - package jsimple.oauth.utils
 
jsimple.pushnotifications - package jsimple.pushnotifications
 
jsimple.unit - package jsimple.unit
 
jsimple.util - package jsimple.util
 
jSimpleExceptionFromJavaIOException(IOException) - Static method in class jsimple.io.JavaIOUtils
Map a Java IOException to the matching JSimple platform independent exception.
JSimpleInputStreamOnJavaStream - Class in jsimple.io
 
JSimpleInputStreamOnJavaStream(InputStream) - Constructor for class jsimple.io.JSimpleInputStreamOnJavaStream
 
JSimpleInputStreamOnJavaStream(InputStream, boolean) - Constructor for class jsimple.io.JSimpleInputStreamOnJavaStream
Create a JSimple stream that wraps the specified Java InputStream.
JSimpleIO - Class in jsimple.io
 
JSimpleIO() - Constructor for class jsimple.io.JSimpleIO
 
JSimpleOutputStreamOnJavaStream - Class in jsimple.io
This class turns a java.io.OutputStream into a JSimple OutputStream.
JSimpleOutputStreamOnJavaStream(OutputStream) - Constructor for class jsimple.io.JSimpleOutputStreamOnJavaStream
 
JSimpleOutputStreamOnJavaStream(OutputStream, boolean) - Constructor for class jsimple.io.JSimpleOutputStreamOnJavaStream
Create a JSimple stream that wraps the specified Java OutputStream.
Json - Class in jsimple.json
 
Json() - Constructor for class jsimple.json.Json
 
JsonArray - Class in jsimple.json.objectmodel
 
JsonArray() - Constructor for class jsimple.json.objectmodel.JsonArray
 
JsonArrayProperty - Class in jsimple.json.readerwriter
 
JsonArrayProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonArrayProperty
 
JsonArrayReader - Class in jsimple.json.readerwriter
JsonArrayReader lets the caller parse the items in an array one by one, iterating through them & processing them as they're parsed.
JsonArrayReader(Token) - Constructor for class jsimple.json.readerwriter.JsonArrayReader
 
JsonArrayWriter - Class in jsimple.json.readerwriter
JsonArrayWriter lets the caller serialize the items in an array one by one, iterating through them & serializing each in turn.
JsonArrayWriter(Serializer) - Constructor for class jsimple.json.readerwriter.JsonArrayWriter
 
JsonArrayWriter(Serializer, boolean) - Constructor for class jsimple.json.readerwriter.JsonArrayWriter
 
JsonBooleanProperty - Class in jsimple.json.readerwriter
 
JsonBooleanProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonBooleanProperty
 
JsonDoubleProperty - Class in jsimple.json.readerwriter
 
JsonDoubleProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonDoubleProperty
 
JsonException - Exception in jsimple.json
 
JsonException(Throwable) - Constructor for exception jsimple.json.JsonException
 
JsonException(String) - Constructor for exception jsimple.json.JsonException
 
JsonException(String, Object) - Constructor for exception jsimple.json.JsonException
 
JsonException(String, Object, Object) - Constructor for exception jsimple.json.JsonException
 
JsonException(String, Object...) - Constructor for exception jsimple.json.JsonException
 
JsonIntProperty - Class in jsimple.json.readerwriter
 
JsonIntProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonIntProperty
 
JsonLongProperty - Class in jsimple.json.readerwriter
 
JsonLongProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonLongProperty
 
JsonNull - Class in jsimple.json.objectmodel
This class is used to represent a "null" literal in JSON.
JsonObject - Class in jsimple.json.objectmodel
A JsonObject represents an ordered list of name/value pairs.
JsonObject() - Constructor for class jsimple.json.objectmodel.JsonObject
 
JsonObjectOrArray - Class in jsimple.json.objectmodel
This class is simply used to represent, in a type safe way, either a JSON object or an array.
JsonObjectOrArray() - Constructor for class jsimple.json.objectmodel.JsonObjectOrArray
 
JsonObjectProperty - Class in jsimple.json.readerwriter
 
JsonObjectProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonObjectProperty
 
JsonObjectReader - Class in jsimple.json.readerwriter
JsonObjectReader lets the caller parse the items in an array one by one, iterating through them & processing them as they're parsed.
JsonObjectReader(Token) - Constructor for class jsimple.json.readerwriter.JsonObjectReader
 
JsonObjectType - Class in jsimple.json.readerwriter
 
JsonObjectType(JsonObjectType) - Constructor for class jsimple.json.readerwriter.JsonObjectType
 
JsonObjectType() - Constructor for class jsimple.json.readerwriter.JsonObjectType
 
JsonObjectWriter - Class in jsimple.json.readerwriter
 
JsonObjectWriter(Serializer) - Constructor for class jsimple.json.readerwriter.JsonObjectWriter
 
JsonObjectWriter(Serializer, boolean) - Constructor for class jsimple.json.readerwriter.JsonObjectWriter
 
JsonParsingException - Exception in jsimple.json.text
 
JsonParsingException(String) - Constructor for exception jsimple.json.text.JsonParsingException
 
JsonParsingException(String, String) - Constructor for exception jsimple.json.text.JsonParsingException
 
JsonParsingException(String, Token) - Constructor for exception jsimple.json.text.JsonParsingException
 
JsonProperty - Class in jsimple.json.readerwriter
 
JsonProperty(String) - Constructor for class jsimple.json.readerwriter.JsonProperty
 
JsonProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonProperty
 
JsonStringProperty - Class in jsimple.json.readerwriter
 
JsonStringProperty(String, int) - Constructor for class jsimple.json.readerwriter.JsonStringProperty
 
JsonTokenExtractor - Class in jsimple.oauth.extractors
 
JsonTokenExtractor() - Constructor for class jsimple.oauth.extractors.JsonTokenExtractor
 

K

keySet() - Method in class jsimple.util.HashMap
Returns a set of the keys contained in this map.
keySet() - Method in class jsimple.util.Map
Returns a set of the keys contained in this Map.

L

lastIndexOf(E) - Method in class jsimple.util.ArrayList
 
lastIndexOf(E) - Method in class jsimple.util.List
Searches this List for the specified object and returns the index of the last occurrence.
Level - Class in jsimple.logging
Logging level.
List<E> - Class in jsimple.util
A List is a collection which maintains an ordering for its elements.
List() - Constructor for class jsimple.util.List
Constructs a new instance of this AbstractList.
ListUtils - Class in jsimple.util
Created by Bret on 5/19/2014.
ListUtils() - Constructor for class jsimple.util.ListUtils
 
LiveOAuthApi - Class in jsimple.oauth.builder.api
 
LiveOAuthApi() - Constructor for class jsimple.oauth.builder.api.LiveOAuthApi
 
log(Level, String, Throwable) - Method in class jsimple.logging.helpers.NOPLogger
 
log(Level, String) - Method in class jsimple.logging.Logger
Log a message at the specified level.
log(Level, String, Object) - Method in class jsimple.logging.Logger
Log a message at the specified level according to the specified format and argument.
log(Level, String, Object, Object) - Method in class jsimple.logging.Logger
Log a message at the specified level according to the specified format and arguments.
log(Level, String, Object...) - Method in class jsimple.logging.Logger
Log a message at the specified level according to the specified format and arguments.
log(Level, String, Throwable) - Method in class jsimple.logging.Logger
Log an exception (throwable) at the specified level with an accompanying message.
log(Level, String, Throwable) - Method in class jsimple.logging.stdimpl.StdLogger
 
log(String) - Method in class jsimple.oauth.model.OAuthConfig
 
log(String) - Method in class jsimple.oauth.model.OAuthLogger
 
LogEnterLeave - Class in jsimple.logging
 
LogEnterLeave() - Constructor for class jsimple.logging.LogEnterLeave
 
logEnterLeave(Level, String, Object...) - Method in class jsimple.logging.Logger
 
LogEnterLeaveStdImpl - Class in jsimple.logging.stdimpl
 
Logger - Class in jsimple.logging
The jsimple.logging.Logger interface is the main user entry point of JSimple logging API.
Logger() - Constructor for class jsimple.logging.Logger
 
LoggerFactory - Class in jsimple.logging
The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for log4j, logback JDK 1.4 logging, and JSimple logging.
LoggingEvent - Class in jsimple.logging.stdimpl
 
LoggingEvent(String, Level, String, Object[]) - Constructor for class jsimple.logging.stdimpl.LoggingEvent
 
LoggingEvent(String, Level, String, Throwable) - Constructor for class jsimple.logging.stdimpl.LoggingEvent
 
logStartAndEndWithVarargs(Level, String, Object...) - Method in class jsimple.logging.helpers.NOPLogger
 
logStartAndEndWithVarargs(Level, String, Object...) - Method in class jsimple.logging.Logger
Log start and end messages at the specified level, with the specified message format and arguments.
logStartAndEndWithVarargs(Level, String, Object...) - Method in class jsimple.logging.stdimpl.StdLogger
 
logWithVarargs(Level, String, Object...) - Method in class jsimple.logging.helpers.NOPLogger
 
logWithVarargs(Level, String, Object...) - Method in class jsimple.logging.Logger
Log a message at the specified level, with the specified message format and arguments.
logWithVarargs(Level, String, Object...) - Method in class jsimple.logging.stdimpl.StdLogger
 
LongUtil - Class in jsimple.util
The wrapper for the primitive type long.
LongUtil() - Constructor for class jsimple.util.LongUtil
 
longValue() - Method in class jsimple.util.BoxedLong
 
lowestOneBit(int) - Static method in class jsimple.util.IntegerUtil
Determines the lowest (rightmost) bit of the specified integer that is 1 and returns the bit mask value for that bit.
lowestOneBit(long) - Static method in class jsimple.util.LongUtil
Determines the lowest (rightmost) bit of the specified long value that is 1 and returns the bit mask value for that bit.

M

Map<K,V> - Class in jsimple.util
A Map is a data structure consisting of a set of keys and values in which each key is mapped to a single value.
Map() - Constructor for class jsimple.util.Map
Constructs a new instance of this AbstractMap.
MapEntry<K,V> - Interface in jsimple.util
MapEntry is a key/value mapping contained in a Map.
MapUtils - Class in jsimple.oauth.utils
 
MapUtils() - Constructor for class jsimple.oauth.utils.MapUtils
 
mark(int) - Method in class jsimple.io.BufferedReader
Sets a mark position in this reader.
match(Pattern) - Method in class jsimple.util.MatchBuilder
 
match(char) - Method in class jsimple.util.MatchBuilder
 
match(String) - Method in class jsimple.util.MatchBuilder
 
match(MatchBuilder) - Method in interface jsimple.util.Pattern
 
match(char) - Method in class jsimple.util.StringIterator
 
match(char, StringBuilder) - Method in class jsimple.util.StringIterator
 
match(String) - Method in class jsimple.util.StringIterator
 
MatchBuilder - Class in jsimple.util
 
MatchBuilder(String, int) - Constructor for class jsimple.util.MatchBuilder
 
MatchBuilder(String) - Constructor for class jsimple.util.MatchBuilder
 
matchCharRange(int, int) - Method in class jsimple.util.MatchBuilder
 
matchCharRange(int, int, StringBuilder) - Method in class jsimple.util.StringIterator
 
matchDigit() - Method in class jsimple.util.MatchBuilder
Matches a single digit (0 - 9).
matchDigit(StringBuilder) - Method in class jsimple.util.StringIterator
 
matchDigits() - Method in class jsimple.util.MatchBuilder
Matches one or more digits (0 - 9).
matchDigits(StringBuilder) - Method in class jsimple.util.StringIterator
 
matchRestOfString() - Method in class jsimple.util.MatchBuilder
Matches the remainder of the outer string, however much is left.
matchUntil(Pattern) - Method in class jsimple.util.MatchBuilder
Matches until the specific pattern is encountered or the end of string is hit.
Math - Class in jsimple.lang
Class Math provides basic math constants and operations such as trigonometric functions, hyperbolic functions, exponential, logarithms, etc.
max(int, int) - Static method in class jsimple.lang.Math
Returns the most positive (closest to positive infinity) of the two arguments.
max(long, long) - Static method in class jsimple.lang.Math
Returns the most positive (closest to positive infinity) of the two arguments.
max(long, long) - Static method in class jsimple.util.Utils
 
MAX_RADIX - Static variable in class jsimple.util.IntegerUtil
The maximum radix used for conversions between characters and integers.
MAX_VALUE - Static variable in class jsimple.util.DoubleUtil
Constant for the maximum double value, (2 - 2-52) * 21023.
MAX_VALUE - Static variable in class jsimple.util.IntegerUtil
Constant for the maximum int value, 231-1.
MAX_VALUE - Static variable in class jsimple.util.LongUtil
Constant for the maximum long value, 263-1.
MessageFormatter - Class in jsimple.util
Formats messages according to very simple substitution rules.
MessageFormatter() - Constructor for class jsimple.util.MessageFormatter
 
MessageFormatter.FormattingTuple - Class in jsimple.util
Holds the results of formatting done by MessageFormatter.
METHOD_DELETE - Static variable in class jsimple.net.HttpRequest
 
METHOD_GET - Static variable in class jsimple.net.HttpRequest
 
METHOD_POST - Static variable in class jsimple.net.HttpRequest
 
METHOD_PUT - Static variable in class jsimple.net.HttpRequest
 
MILLISECONDS_PER_DAY - Static variable in class jsimple.util.DateTime
 
MILLISECONDS_PER_HOUR - Static variable in class jsimple.util.DateTime
 
MILLISECONDS_PER_MINUTE - Static variable in class jsimple.util.DateTime
 
MILLISECONDS_PER_SECOND - Static variable in class jsimple.util.DateTime
 
min(int, int) - Static method in class jsimple.lang.Math
Returns the most negative (closest to negative infinity) of the two arguments.
min(long, long) - Static method in class jsimple.lang.Math
Returns the most negative (closest to negative infinity) of the two arguments.
min(long, long) - Static method in class jsimple.util.Utils
 
MIN_RADIX - Static variable in class jsimple.util.IntegerUtil
The minimum radix used for conversions between characters and integers.
MIN_VALUE - Static variable in class jsimple.util.DoubleUtil
Constant for the minimum double value, 2-1074.
MIN_VALUE - Static variable in class jsimple.util.IntegerUtil
Constant for the minimum int value, -231.
MIN_VALUE - Static variable in class jsimple.util.LongUtil
Constant for the minimum long value, -263.
modCount - Variable in class jsimple.util.ArrayList
A counter for changes to the list.
moveTo(File) - Method in class jsimple.io.File
 
moveTo(File) - Method in class jsimple.io.FileSystemFile
 
MurmurHash3 - Class in jsimple.io
MurmurHash3 is a modern, fast, well regarded non-cryptographic hashing algorithm.
MurmurHash3(int) - Constructor for class jsimple.io.MurmurHash3
 
MurmurHash3() - Constructor for class jsimple.io.MurmurHash3
 

N

name - Variable in class jsimple.json.readerwriter.JsonProperty
 
next() - Method in class jsimple.util.Iterator
Returns the next object in the iteration, i.e.
next(int) - Method in class jsimple.util.Random
Returns a pseudo-random uniformly distributed int value of the number of bits specified by the argument bits as described by Donald E.
nextBoolean() - Method in class jsimple.util.Random
Returns the next pseudo-random, uniformly distributed boolean value generated by this generator.
nextBytes(byte[]) - Method in class jsimple.util.Random
Modifies the byte array by a random sequence of bytes generated by this random number generator.
nextDouble() - Method in class jsimple.util.Random
Generates a normally distributed random double number between 0.0 inclusively and 1.0 exclusively.
nextElement() - Method in class jsimple.util.StringTokenizer
Returns the next token in the string as an Object.
nextFloat() - Method in class jsimple.util.Random
Generates a normally distributed random float number between 0.0 inclusively and 1.0 exclusively.
nextInt() - Method in class jsimple.util.Random
Generates a uniformly distributed 32-bit int value from the random number sequence.
nextInt(int) - Method in class jsimple.util.Random
Returns a new pseudo-random int value which is uniformly distributed between 0 (inclusively) and the value of n (exclusively).
nextLong() - Method in class jsimple.util.Random
Generates a uniformly distributed 64-bit integer value from the random number sequence.
nextToken() - Method in class jsimple.util.StringTokenizer
Returns the next token in the string as a String.
nextToken(String) - Method in class jsimple.util.StringTokenizer
Returns the next token in the string as a String.
NONCE - Static variable in class jsimple.oauth.model.OAuthConstants
 
NOP_LOGGER - Static variable in class jsimple.logging.helpers.NOPLogger
The unique instance of NOPLogger.
NOPLogger - Class in jsimple.logging.helpers
A direct NOP (no operation) implementation of Logger.
NOPLogger() - Constructor for class jsimple.logging.helpers.NOPLogger
There is no point in creating multiple instances of NOPLOgger, except by derived classes, hence the protected access for the constructor.
now() - Static method in class jsimple.util.DateTime
Obtains a DateTime set to the current system millisecond time using ISOChronology in the default time zone.
NULL - Static variable in class jsimple.util.MessageFormatter.FormattingTuple
 
NULL_DATE - Static variable in class jsimple.util.DateTime
 
numberOfLeadingZeros(int) - Static method in class jsimple.util.IntegerUtil
Determines the number of leading zeros in the specified integer prior to the highest one bit.
numberOfLeadingZeros(long) - Static method in class jsimple.util.LongUtil
Determines the number of leading zeros in the specified long value prior to the highest one bit.
numberOfTrailingZeros(int) - Static method in class jsimple.util.IntegerUtil
Determines the number of trailing zeros in the specified integer after the lowest one bit.
numberOfTrailingZeros(long) - Static method in class jsimple.util.LongUtil
Determines the number of trailing zeros in the specified long value after the lowest one bit.

O

OAuth10aServiceImpl - Class in jsimple.oauth.oauth
OAuth 1.0a implementation of OAuthService
OAuth10aServiceImpl(DefaultOAuthApi10a, OAuthConfig) - Constructor for class jsimple.oauth.oauth.OAuth10aServiceImpl
Default constructor
OAuth20ServiceImpl - Class in jsimple.oauth.oauth
 
OAuth20ServiceImpl(DefaultOAuthApi20, OAuthConfig) - Constructor for class jsimple.oauth.oauth.OAuth20ServiceImpl
Default constructor
OAuthApi - Interface in jsimple.oauth.builder.api
Contains all the configuration needed to instantiate a valid OAuthService
OAuthConfig - Class in jsimple.oauth.model
Parameter object that groups OAuth config values
OAuthConfig(String, String, String, SignatureType, String, OAuthLogger) - Constructor for class jsimple.oauth.model.OAuthConfig
 
OAuthConnectionException - Exception in jsimple.oauth.exceptions
 
OAuthConnectionException(Throwable) - Constructor for exception jsimple.oauth.exceptions.OAuthConnectionException
 
OAuthConstants - Class in jsimple.oauth.model
This class contains OAuth constants, used project-wide
OAuthConstants() - Constructor for class jsimple.oauth.model.OAuthConstants
 
OAuthEncoder - Class in jsimple.oauth.utils
 
OAuthEncoder() - Constructor for class jsimple.oauth.utils.OAuthEncoder
 
OAuthException - Exception in jsimple.oauth.exceptions
Default scribe exception.
OAuthException(String, Throwable) - Constructor for exception jsimple.oauth.exceptions.OAuthException
Default constructor
OAuthException(String) - Constructor for exception jsimple.oauth.exceptions.OAuthException
No-exception constructor.
OAuthLogger - Class in jsimple.oauth.model
 
OAuthLogger() - Constructor for class jsimple.oauth.model.OAuthLogger
 
OAuthParametersMissingException - Exception in jsimple.oauth.exceptions
Specialized exception that represents a missing OAuth parameter.
OAuthParametersMissingException(OAuthRequest) - Constructor for exception jsimple.oauth.exceptions.OAuthParametersMissingException
Default constructor.
OAuthRequest - Class in jsimple.oauth.model
The representation of an OAuth HttpRequest.
OAuthRequest(String, String) - Constructor for class jsimple.oauth.model.OAuthRequest
Construct an OAuthRequest to apply to specified verb against the specified resource URL.
OAuthRequest(String, String, TextualPath) - Constructor for class jsimple.oauth.model.OAuthRequest
Construct an OAuthRequest to apply to specified verb against the specified resource.
OAuthResponse - Class in jsimple.oauth.model
Represents an HTTP Response to an OAuth request.
OAuthService - Interface in jsimple.oauth.oauth
The main Scribe object.
ObjectModelParser - Class in jsimple.json.objectmodel
 
ObjectModelParser(Reader) - Constructor for class jsimple.json.objectmodel.ObjectModelParser
Parse the specified JSON text.
OFF - Static variable in class jsimple.logging.Level
 
onClosed() - Method in interface jsimple.io.ClosedListener
 
openForCreate() - Method in class jsimple.io.File
Open the file for writing.
openForCreate() - Method in class jsimple.io.FileSystemFile
 
openForCreateAtomic() - Method in class jsimple.io.File
 
openForCreateAtomic(long) - Method in class jsimple.io.File
Open the file for writing/creating, replacing the current file if it already exists.
openForRead() - Method in class jsimple.io.File
 
openForRead() - Method in class jsimple.io.FileSystemFile
 
openUtf8ForCreate() - Method in class jsimple.io.File
This is a convenience method to open a UTF8 text file for writing.
openUtf8ForCreateAtomic() - Method in class jsimple.io.File
This is a convenience method to open a UTF8 text file for writing.
openUtf8ForRead() - Method in class jsimple.io.File
This is a convenience method to open a UTF8 text file for read.
OptionalInteger - Class in jsimple.util
Created by bretjohn on 1/7/2015.
OptionalInteger(boolean, int) - Constructor for class jsimple.util.OptionalInteger
 
OUT_OF_BAND - Static variable in class jsimple.oauth.model.OAuthConstants
 
OutputStream - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.OutputStream class.
OutputStream() - Constructor for class jsimple.io.OutputStream
 

P

PARAM_PREFIX - Static variable in class jsimple.oauth.model.OAuthConstants
 
Parameter - Class in jsimple.oauth.model
 
Parameter(String, String) - Constructor for class jsimple.oauth.model.Parameter
 
ParameterList - Class in jsimple.oauth.model
 
ParameterList() - Constructor for class jsimple.oauth.model.ParameterList
 
ParameterList(Map<String, String>) - Constructor for class jsimple.oauth.model.ParameterList
 
parse(Reader) - Static method in class jsimple.json.Json
Parse the specified JSON text, returning a JsonObject or JsonArray, depending on what the outermost container type is in the JSON.
parseArray(Reader) - Static method in class jsimple.json.Json
Parse the specified JSON text, returning a JsonArray.
parseArray() - Method in class jsimple.json.objectmodel.ObjectModelParser
 
parseInt(String) - Static method in class jsimple.util.IntegerUtil
Parses the specified string as a signed decimal integer value.
parseInt(String, int) - Static method in class jsimple.util.IntegerUtil
Parses the specified string as a signed integer value using the specified radix.
parseLong(String) - Static method in class jsimple.util.LongUtil
Parses the specified string as a signed decimal long value.
parseLong(String, int) - Static method in class jsimple.util.LongUtil
Parses the specified string as a signed long value using the specified radix.
parseObject(Reader) - Static method in class jsimple.json.Json
Parse the specified JSON text, returning a JsonObject.
parseRFC3339(String) - Static method in class jsimple.util.DateTime
 
parseRoot() - Method in class jsimple.json.objectmodel.ObjectModelParser
 
parseValue() - Method in class jsimple.json.objectmodel.ObjectModelParser
 
Path - Class in jsimple.io
A Path is an abstraction over file system-like data structures.
Path() - Constructor for class jsimple.io.Path
 
PathAttributes - Class in jsimple.io
 
PathAttributes() - Constructor for class jsimple.io.PathAttributes
 
PathNotFoundException - Exception in jsimple.io
This is a platform independent class used to represent file not found exceptions, taking the place of java.io.FileNotFoundException in JSimple based code.
PathNotFoundException(Throwable) - Constructor for exception jsimple.io.PathNotFoundException
 
PathNotFoundException(String) - Constructor for exception jsimple.io.PathNotFoundException
 
PathNotFoundException(String, Object) - Constructor for exception jsimple.io.PathNotFoundException
 
PathNotFoundException(String, Object, Object) - Constructor for exception jsimple.io.PathNotFoundException
 
Paths - Class in jsimple.io
Created with IntelliJ IDEA.
Paths() - Constructor for class jsimple.io.Paths
 
Pattern - Interface in jsimple.util
 
PlaintextSignatureService - Class in jsimple.oauth.services
plaintext implementation of SignatureService
PlaintextSignatureService() - Constructor for class jsimple.oauth.services.PlaintextSignatureService
 
platformGetCurrentTimeMillis() - Static method in class jsimple.util.PlatformUtils
Get the number of milliseconds since Jan 1, 1970, UTC time.
PlatformUtils - Class in jsimple.util
 
PlatformUtils() - Constructor for class jsimple.util.PlatformUtils
 
PlatformUtilsBase - Class in jsimple.util
This class is used to wrap one off utility methods that need to be implemented in a platform dependent way.
PlatformUtilsBase() - Constructor for class jsimple.util.PlatformUtilsBase
 
plusHours(long) - Method in class jsimple.util.DateTime
 
plusMillis(long) - Method in class jsimple.util.DateTime
Returns a copy of this datetime plus the specified number of millis.
plusMinutes(long) - Method in class jsimple.util.DateTime
 
plusSeconds(long) - Method in class jsimple.util.DateTime
 
pos - Variable in class jsimple.io.ByteArrayInputStream
The current position within the byte array.
POST - Static variable in class jsimple.oauth.model.Verb
 
ProgrammerError - Exception in jsimple.util
A ProgrammerError is thrown when some check fails indicating that programmer did something they shouldn't have done, perhaps passing in an illegal argument or calling a method at an invalid time.
ProgrammerError() - Constructor for exception jsimple.util.ProgrammerError
 
ProgrammerError(String) - Constructor for exception jsimple.util.ProgrammerError
 
ProgrammerError(String, Object) - Constructor for exception jsimple.util.ProgrammerError
 
ProgrammerError(String, Object, Object) - Constructor for exception jsimple.util.ProgrammerError
 
ProgrammerError(String, Object...) - Constructor for exception jsimple.util.ProgrammerError
 
provider(OAuthApi) - Method in class jsimple.oauth.builder.ServiceBuilder
Configures the OAuthApi

Overloaded version.

PushNotificationsReceiver - Class in jsimple.pushnotifications
Created by Bret on 5/24/2014.
PushNotificationsReceiver() - Constructor for class jsimple.pushnotifications.PushNotificationsReceiver
 
PushNotificationsReceiver.PushNotificationsReceiverFactory - Interface in jsimple.pushnotifications
 
PUT - Static variable in class jsimple.oauth.model.Verb
 
put(K, V) - Method in class jsimple.util.HashMap
Maps the specified key to the specified value.
put(K, V) - Method in class jsimple.util.Map
Maps the specified key to the specified value.
putAll(Map<? extends K, ? extends V>) - Method in class jsimple.util.HashMap
Copies all the mappings in the specified map to this map.
putAll(Map<? extends K, ? extends V>) - Method in class jsimple.util.Map
Copies every mapping in the specified Map to this Map.
Px500OAuthApi - Class in jsimple.oauth.builder.api
 
Px500OAuthApi() - Constructor for class jsimple.oauth.builder.api.Px500OAuthApi
 

R

Random - Class in jsimple.util
This class provides methods that generates pseudo-random numbers of different types, such as int, long, double, and float.
Random() - Constructor for class jsimple.util.Random
Construct a random generator with the current time of day in milliseconds as the initial state.
Random(long) - Constructor for class jsimple.util.Random
Construct a random generator with the given seed as the initial state.
rawLongBitsToDouble(long) - Static method in class jsimple.util.PlatformUtils
Encode a long in a double.
read() - Method in class jsimple.io.BufferedReader
Reads a single character from this reader and returns it with the two higher-order bytes set to 0.
read(char[], int, int) - Method in class jsimple.io.BufferedReader
Reads at most length characters from this reader and stores them at offset in the character array buffer.
read() - Method in class jsimple.io.ByteArrayInputStream
Reads a single byte from the source byte array and returns it as an integer in the range from 0 to 255.
read(byte[], int, int) - Method in class jsimple.io.ByteArrayInputStream
Reads at most len bytes from this stream and stores them in byte array b starting at offset.
read() - Method in class jsimple.io.InputStream
Reads a single byte from this stream and returns it as an integer in the range from 0 to 255.
read(byte[]) - Method in class jsimple.io.InputStream
Reads bytes from this stream and stores them in the byte array b.
read(byte[], int, int) - Method in class jsimple.io.InputStream
Reads at most length bytes from this stream and stores them in the byte array b starting at offset.
read() - Method in class jsimple.io.JSimpleInputStreamOnJavaStream
 
read(byte[]) - Method in class jsimple.io.JSimpleInputStreamOnJavaStream
 
read(byte[], int, int) - Method in class jsimple.io.JSimpleInputStreamOnJavaStream
 
read() - Method in class jsimple.io.Reader
Reads a single character from this reader and returns it as an integer with the two higher-order bytes set to 0.
read(char[]) - Method in class jsimple.io.Reader
Reads characters from this reader and stores them in the character array buf starting at offset 0.
read(char[], int, int) - Method in class jsimple.io.Reader
Reads at most count characters from this reader and stores them at offset in the character array buf.
read() - Method in class jsimple.io.SequenceInputStream
Reads a single byte from this sequence of input streams and returns it as an integer in the range from 0 to 255.
read(byte[], int, int) - Method in class jsimple.io.SequenceInputStream
Reads at most count bytes from this sequence of input streams and stores them in the byte array buffer starting at offset.
read() - Method in class jsimple.io.StringReader
Reads a single character from the source string and returns it as an integer with the two higher-order bytes set to 0.
read(char[], int, int) - Method in class jsimple.io.StringReader
Reads at most len characters from the source string and stores them at offset in the character array buf.
read() - Method in class jsimple.io.SubstreamInputStream
 
read(byte[], int, int) - Method in class jsimple.io.SubstreamInputStream
 
read() - Method in class jsimple.io.Utf8InputStreamReader
Reads a single character from this reader and returns it as an integer with the two higher-order bytes set to 0.
read(char[], int, int) - Method in class jsimple.io.Utf8InputStreamReader
Reads at most length characters from this reader and stores them at position offset in the character array buf.
read(Reader) - Static method in class jsimple.json.Json
Return a JsonObjectReader or a JsonArrayReader for the specified JSON text, depending on what the outermost container type is in the JSON.
read() - Method in class jsimple.net.JavaHttpResponse.EmptyInputStream
 
read(byte[], int, int) - Method in class jsimple.net.JavaHttpResponse.EmptyInputStream
 
read() - Method in class jsimple.util.MatchBuilder
Return the current character (same as getLookahead()) then advance to the next one.
read() - Method in class jsimple.util.StringIterator
Return the current character (same as curr()) then advance to the next one.
readArray(Reader) - Static method in class jsimple.json.Json
Assuming the JSON text is an array, return a JsonArrayReader, to iteratively parse through the items in the array one by one, to process each as it's parsed.
readArray() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readBoolean() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readDouble() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readElementPrefix() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
Reader - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.Reader class.
Reader() - Constructor for class jsimple.io.Reader
 
readFully(byte[]) - Method in class jsimple.io.InputStream
This method is the same as read except that it's guaranteed to read as much as possible, blocking until it's read length bytes or the end of stream is reached.
readFully(byte[], int, int) - Method in class jsimple.io.InputStream
This method is the same as read except that it's guaranteed to read as much as possible, blocking until it's read length bytes or the end of stream is reached.
readInt() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readLine() - Method in class jsimple.io.BufferedReader
Returns the next line of text available from this reader.
readLong() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readObject(Reader) - Static method in class jsimple.json.Json
Assuming the JSON text is an object, return a JsonObjectReader, to iteratively read through the name/value pairs in the object one by one, to process each as it's parsed.
readObject() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readPrimitive() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readProperty() - Method in class jsimple.json.readerwriter.JsonObjectReader
 
readPropertyName() - Method in class jsimple.json.readerwriter.JsonObjectReader
 
readPropertyValue() - Method in class jsimple.json.readerwriter.JsonObjectReader
 
readString() - Method in class jsimple.json.readerwriter.JsonArrayReader
 
readValue(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonArrayProperty
 
readValue(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonBooleanProperty
 
readValue(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonDoubleProperty
 
readValue(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonIntProperty
 
readValue(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonLongProperty
 
readValue(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonObjectProperty
 
readValue(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonStringProperty
 
readValueUntyped(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonBooleanProperty
 
readValueUntyped(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonDoubleProperty
 
readValueUntyped(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonIntProperty
 
readValueUntyped(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonLongProperty
 
readValueUntyped(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonProperty
 
readValueUntyped(JsonObjectReader) - Method in class jsimple.json.readerwriter.JsonStringProperty
 
readWhitespaceDelimitedToken() - Method in class jsimple.util.StringIterator
 
readWhitespaceDelimitedTokenOnSameLine() - Method in class jsimple.util.StringIterator
 
REDIRECT_URI - Static variable in class jsimple.oauth.model.OAuthConstants
 
refreshAccessToken(Token, boolean) - Method in class jsimple.oauth.oauth.OAuth10aServiceImpl
Refresh the access token to extend its expiration date.
refreshAccessToken(Token, boolean) - Method in class jsimple.oauth.oauth.OAuth20ServiceImpl
Refresh the access token to extend its expiration date.
refreshAccessToken(Token, boolean) - Method in interface jsimple.oauth.oauth.OAuthService
Refresh the access token to extend its expiration date.
register() - Method in interface jsimple.pushnotifications.PushNotificationsReceiver.PushNotificationsReceiverFactory
 
register() - Static method in class jsimple.pushnotifications.PushNotificationsReceiver
 
remove(int) - Method in class jsimple.util.ArrayList
Removes the object at the specified location from this list.
remove(E) - Method in class jsimple.util.ArrayList
 
remove(E) - Method in class jsimple.util.Collection
Removes one instance of the specified object from this Collection if one is contained (optional).
remove(K) - Method in class jsimple.util.HashMap
Removes the mapping with the specified key from this map.
remove(E) - Method in class jsimple.util.HashSet
Removes the specified object from this HashSet.
remove() - Method in class jsimple.util.Iterator
Removes the last object returned by next from the collection.
remove(int) - Method in class jsimple.util.List
Removes the object at the specified location from this List.
remove(K) - Method in class jsimple.util.Map
Removes a mapping with the specified key from this Map.
removeAll(Collection<E>) - Method in class jsimple.util.Collection
Removes all occurrences in this Collection of each object in the specified Collection (optional).
removeAll(Collection<E>) - Method in class jsimple.util.Set
Removes all occurrences in this collection which are contained in the specified collection.
renameTo(String) - Method in class jsimple.io.Directory
Rename this directory, giving it a new name in the same parent directory.
renameTo(String) - Method in class jsimple.io.File
Rename this file, giving it a new name in the same directory.
renameTo(String) - Method in class jsimple.io.FileSystemDirectory
 
renameTo(String) - Method in class jsimple.io.FileSystemFile
 
RequestTokenExtractor - Interface in jsimple.oauth.extractors
Simple command object that extracts a Token from a String
reset() - Method in class jsimple.io.BufferedReader
Resets this reader's position to the last mark() location.
reset() - Method in class jsimple.io.ByteArrayOutputStream
Resets this stream to the beginning of the underlying byte array.
reset() - Method in class jsimple.oauth.utils.Sha1
Initializes (or resets) the hasher for a new session.
retainAll(Collection<E>) - Method in class jsimple.util.Collection
Removes all objects from this Collection that are not also found in the Collection passed (optional).
reverse(int) - Static method in class jsimple.util.IntegerUtil
Reverses the order of the bits of the specified integer.
reverse(long) - Static method in class jsimple.util.LongUtil
Reverses the order of the bits of the specified long value.
reverseBytes(char) - Static method in class jsimple.util.CharacterUtil
Reverses the order of the first and second byte in the specified character.
reverseBytes(int) - Static method in class jsimple.util.IntegerUtil
Reverses the order of the bytes of the specified integer.
reverseBytes(long) - Static method in class jsimple.util.LongUtil
Reverses the order of the bytes of the specified long value.
rfc3339ToMillis(String) - Static method in class jsimple.util.DateTime
Given the RFC3339 date/time string, return the time in millis (milliseconds since Jan 1, 1970, UTC).
ROOT_LOGGER_NAME - Variable in class jsimple.logging.Logger
Case insensitive String constant used to retrieve the name of the root logger.
rotateLeft(int, int) - Static method in class jsimple.util.IntegerUtil
Rotates the bits of the specified integer to the left by the specified number of bits.
rotateLeft(long, int) - Static method in class jsimple.util.LongUtil
Rotates the bits of the specified long value to the left by the specified number of bits.
rotateRight(int, int) - Static method in class jsimple.util.IntegerUtil
Rotates the bits of the specified integer to the right by the specified number of bits.
rotateRight(long, int) - Static method in class jsimple.util.LongUtil

Rotates the bits of the specified long value to the right by the specified number of bits.

S

scope(String) - Method in class jsimple.oauth.builder.ServiceBuilder
Configures the OAuth scope.
SCOPE - Static variable in class jsimple.oauth.model.OAuthConstants
 
send() - Method in class jsimple.net.HttpRequest
Opens a communications link to the resource referenced by this URL, if such a connection has not already been established.
send() - Method in class jsimple.net.JavaHttpRequest
 
send() - Method in class jsimple.oauth.model.OAuthRequest
Execute the request and return a OAuthResponse
SequenceInputStream - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.SequenceInputStream class.
SequenceInputStream(InputStream, InputStream) - Constructor for class jsimple.io.SequenceInputStream
Constructs a new SequenceInputStream using the two streams s1 and s2 as the sequence of streams to read from.
SequenceInputStream(ArrayList<InputStream>) - Constructor for class jsimple.io.SequenceInputStream
Constructs a new SequenceInputStream using the elements returned from inputStreams as the stream sequence.
Serializer - Class in jsimple.json.text
 
Serializer(Writer) - Constructor for class jsimple.json.text.Serializer
 
ServiceBuilder - Class in jsimple.oauth.builder
Implementation of the Builder pattern, with a fluent interface that creates a OAuthService
ServiceBuilder() - Constructor for class jsimple.oauth.builder.ServiceBuilder
Default constructor
set(int, E) - Method in class jsimple.util.ArrayList
Replaces the element at the specified location in this ArrayList with the specified object.
set(int, E) - Method in class jsimple.util.List
Replaces the element at the specified location in this List with the specified object.
Set<E> - Class in jsimple.util
An AbstractSet is an abstract implementation of the Set interface.
Set() - Constructor for class jsimple.util.Set
Constructs a new instance of this AbstractSet.
setClosedListener(ClosedListener) - Method in class jsimple.io.OutputStream
A ClosedListener provides a way to be notified when the stream is closed.
setContentTypeAndAcceptHeaders(String, String) - Method in class jsimple.net.HttpRequest
This is a convenience method to set both the Content-Type and Accept headers, at the same time.
setCurrentTimeOverride(long) - Static method in class jsimple.util.PlatformUtilsBase
Set an override for the current time, that will then be returned from getCurrentTimeMillis instead of the actual time being returned.
setDefaultAppenders(List<Appender>) - Method in class jsimple.logging.stdimpl.StdLoggerFactory
 
setDefaultLevel(Level) - Method in class jsimple.logging.stdimpl.StdLoggerFactory
 
setFactory(HttpRequest.HttpRequestFactory) - Static method in class jsimple.net.HttpRequest
Set the global (default) factory used to create http requests.
setFactory(SocketListener.SocketListenerFactory) - Static method in class jsimple.net.SocketListener
Set the global (default) factory used to create SocketListeners.
setFactory(PushNotificationsReceiver.PushNotificationsReceiverFactory) - Static method in class jsimple.pushnotifications.PushNotificationsReceiver
Set the global (default) factory used to register a push notification receiver.
setHeader(String, String) - Method in class jsimple.net.HttpRequest
Sets the specified HTTP request header to the specified value.
setHeader(String, String) - Method in class jsimple.net.JavaHttpRequest
 
setInstance(Paths) - Static method in class jsimple.io.Paths
 
setLastModifiedTime(long) - Method in class jsimple.io.Directory
Set the last modified time for the directory, if supported by the platform (that is, if isSetLastModifiedTimeSupported() returns true).
setLastModifiedTime(long) - Method in class jsimple.io.File
Set the last modified / last write timestamp of this file.
setLastModifiedTime(long) - Method in class jsimple.io.FileSystemDirectory
 
setLastModifiedTime(long) - Method in class jsimple.io.FileSystemFile
 
setLevel(Level) - Method in class jsimple.logging.helpers.NOPLogger
 
setLevel(Level) - Method in class jsimple.logging.Logger
Set the level for this logger.
setLevel(Level) - Method in class jsimple.logging.stdimpl.StdLogger
Override the level for this logger, or remove the override if loggerLevel is null.
setLineSeparator(String) - Method in class jsimple.io.Writer
Set the line separator for this writer.
setMethod(String) - Method in class jsimple.net.HttpRequest
Set the method for the request, one of:

GET POST HEAD OPTIONS PUT DELETE TRACE

are legal, subject to protocol restrictions.

setMethod(String) - Method in class jsimple.net.JavaHttpRequest
 
setObjectType(JsonObjectType) - Method in class jsimple.json.readerwriter.JsonObjectReader
 
setPort(int) - Method in class jsimple.net.SocketListener
Set the port, overriding what was previously set.
setSeed(long) - Method in class jsimple.util.Random
Modifies the seed a using linear congruential formula presented in The Art of Computer Programming, Volume 2, Section 3.2.1.
setSingleLine(boolean) - Method in class jsimple.json.readerwriter.JsonArrayWriter
 
setSingleLine(boolean) - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
setTimeout(int) - Method in class jsimple.net.HttpRequest
Sets a specified timeout value, in milliseconds, to be used when doing connecting/reading/writing to the server.
setTimeout(int) - Method in class jsimple.net.JavaHttpRequest
 
setTimeout(int) - Method in class jsimple.oauth.model.OAuthRequest
Sets the timeout for the underlying HttpRequest
setUp() - Method in class jsimple.unit.UnitTest
 
setValue(V) - Method in interface jsimple.util.MapEntry
Sets the value of this entry to the specified value, replacing any existing value.
Sha1 - Class in jsimple.oauth.utils
SHA-1 message digest implementation, translated from C source code (the origin is unknown).
Sha1() - Constructor for class jsimple.oauth.utils.Sha1
Default constructor.
SIGN_METHOD - Static variable in class jsimple.oauth.model.OAuthConstants
 
SIGNATURE - Static variable in class jsimple.oauth.model.OAuthConstants
 
SignatureService - Interface in jsimple.oauth.services
Signs a base string, returning the OAuth signature
signatureType(SignatureType) - Method in class jsimple.oauth.builder.ServiceBuilder
Configures the signature type, choose between header, querystring, etc.
SignatureType - Enum in jsimple.oauth.model
 
signRequest(Token, OAuthRequest) - Method in class jsimple.oauth.oauth.OAuth10aServiceImpl
Signs am OAuth request
signRequest(Token, OAuthRequest) - Method in class jsimple.oauth.oauth.OAuth20ServiceImpl
Signs am OAuth request
signRequest(Token, OAuthRequest) - Method in interface jsimple.oauth.oauth.OAuthService
Signs am OAuth request
singleton - Static variable in class jsimple.json.objectmodel.JsonNull
 
size() - Method in class jsimple.json.objectmodel.JsonArray
Return the number of values in the array.
size() - Method in class jsimple.json.objectmodel.JsonObject
Get number of name/value pairs in the object.
size() - Method in class jsimple.oauth.model.ParameterList
 
size() - Method in class jsimple.util.ArrayList
Returns the number of elements in this ArrayList.
size() - Method in class jsimple.util.Collection
Returns a count of how many objects this Collection contains.
size() - Method in class jsimple.util.HashMap
Returns the number of elements in this map.
size() - Method in class jsimple.util.HashSet
Returns the number of elements in this HashSet.
size() - Method in class jsimple.util.Map
Returns the number of mappings in this Map.
skip(long) - Method in class jsimple.io.BufferedReader
Skips amount characters in this reader.
skipAheadPast(String) - Method in class jsimple.util.StringIterator
Search for the the next occurrence of the specified substring & advance the iterator just past it.
skipAheadPastIfExists(String) - Method in class jsimple.util.StringIterator
Search for the the next occurrence of the specified substring & advance the iterator just past it.
sleep(int) - Static method in class jsimple.util.PlatformUtils
Make the current thread sleep for the specified number of milliseconds.
sockedConnected(Socket) - Method in interface jsimple.net.SocketConnectionHandler
 
Socket - Class in jsimple.net
 
Socket() - Constructor for class jsimple.net.Socket
 
SocketConnectionHandler - Interface in jsimple.net
 
SocketListener - Class in jsimple.net
 
SocketListener(SocketConnectionHandler, int) - Constructor for class jsimple.net.SocketListener
 
SocketListener.SocketListenerFactory - Interface in jsimple.net
 
SocketTimeoutException - Exception in jsimple.net
This is a platform independent class used to represent network timeout exceptions, taking the place of java.net.SocketTimeoutException in JSimple based code.
SocketTimeoutException(Throwable) - Constructor for exception jsimple.net.SocketTimeoutException
 
SocketTimeoutException(String) - Constructor for exception jsimple.net.SocketTimeoutException
 
SocketTimeoutException(String, Throwable) - Constructor for exception jsimple.net.SocketTimeoutException
 
sort() - Method in class jsimple.oauth.model.ParameterList
 
sort(T[], int, int, Comparator<T>) - Static method in class jsimple.util.Arrays
Sorts the specified array range, from start (inclusive) to end (exclusive), using the specified Comparator.
sort(T[], Comparator<T>) - Static method in class jsimple.util.Arrays
Sorts the specified array using the specified Comparator.
sortInPlace(Comparator<E>) - Method in class jsimple.util.ArrayList
 
split(String, Pattern) - Static method in class jsimple.util.StringUtils
Splits this string using the supplied pattern as the delimiter.
split(String, Pattern, int) - Static method in class jsimple.util.StringUtils
Splits this string using the supplied pattern as the delimiter.
split(String, char) - Static method in class jsimple.util.StringUtils
Splits this string using the supplied character as the delimiter.
split(String, char, int) - Static method in class jsimple.util.StringUtils
Splits this string using the supplied character as the delimiter, returning at most max items.
SSL() - Constructor for class jsimple.oauth.builder.api.TwitterOAuthApi.SSL
 
start() - Method in class jsimple.net.JavaTcpSocketListener
 
start() - Method in class jsimple.net.SocketListener
 
startOverAtCurrentPosition() - Method in class jsimple.util.MatchBuilder
Resets the MatchBuilder so the previous end position is now the start position for any new matching.
startsWith(TextualPath) - Method in class jsimple.util.TextualPath
See if this path starts with another path.
stderr - Static variable in class jsimple.io.StdIO
 
stderrStream - Static variable in class jsimple.io.StdIO
 
StdIO - Class in jsimple.io
The StdIO class can be used to write to stdout & stderr.
StdIO() - Constructor for class jsimple.io.StdIO
 
StdLogger - Class in jsimple.logging.stdimpl
 
StdLogger(StdLoggerFactory, String) - Constructor for class jsimple.logging.stdimpl.StdLogger
 
StdLoggerFactory - Class in jsimple.logging.stdimpl
 
StdLoggerFactory() - Constructor for class jsimple.logging.stdimpl.StdLoggerFactory
 
stdout - Static variable in class jsimple.io.StdIO
 
stdoutStream - Static variable in class jsimple.io.StdIO
 
stop() - Method in class jsimple.net.JavaTcpSocketListener
 
stop() - Method in class jsimple.net.SocketListener
 
StringBuilderUtils - Class in jsimple.util
Created by Bret on 1/11/2015.
StringBuilderUtils() - Constructor for class jsimple.util.StringBuilderUtils
 
StringIterator - Class in jsimple.util
 
StringIterator(String) - Constructor for class jsimple.util.StringIterator
 
StringReader - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.StringReader class.
StringReader(String) - Constructor for class jsimple.io.StringReader
Construct a new StringReader with str as source.
StringTokenizer - Class in jsimple.util
This class was based on, and modified from, the Apache Harmony java.util.StringTokenizer class.
StringTokenizer(String) - Constructor for class jsimple.util.StringTokenizer
Constructs a new StringTokenizer for the parameter string using whitespace as the delimiter.
StringTokenizer(String, String) - Constructor for class jsimple.util.StringTokenizer
Constructs a new StringTokenizer for the parameter string using the specified delimiters.
StringTokenizer(String, String, boolean) - Constructor for class jsimple.util.StringTokenizer
Constructs a new StringTokenizer for the parameter string using the specified delimiters, returning the delimiters as tokens if the parameter returnDelimiters is true.
StringUtils - Class in jsimple.util
 
StringUtils() - Constructor for class jsimple.util.StringUtils
 
StringWriter - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.StringWriter class.
StringWriter() - Constructor for class jsimple.io.StringWriter
Constructs a new StringWriter which has a StringBuffer allocated with the default size of 16 characters.
StringWriter(int) - Constructor for class jsimple.io.StringWriter
Constructs a new StringWriter which has a StringBuffer allocated with a size of initialSize characters.
SubstreamInputStream - Class in jsimple.io
 
SubstreamInputStream(InputStream, int) - Constructor for class jsimple.io.SubstreamInputStream
 

T

tearDown() - Method in class jsimple.unit.UnitTest
 
TextualPath - Class in jsimple.util
A TextualPath abstracts any path-like structure that can be represented as a list of strings.
TextualPath() - Constructor for class jsimple.util.TextualPath
Create a TextualPath that's empty (that is, points to the root).
TextualPath(String) - Constructor for class jsimple.util.TextualPath
Create a TextualPath containing a single path element.
TextualPath(String, String) - Constructor for class jsimple.util.TextualPath
 
TextualPath(String, String, String) - Constructor for class jsimple.util.TextualPath
 
TextualPath(TextualPath, String) - Constructor for class jsimple.util.TextualPath
Create a TextualPath that's the same as parent path, except with the new child added at the end.
TIMESTAMP - Static variable in class jsimple.oauth.model.OAuthConstants
 
TimestampService - Interface in jsimple.oauth.services
Unix epoch timestamp generator.
TimestampServiceImpl - Class in jsimple.oauth.services
Implementation of TimestampService using plain java classes.
TimestampServiceImpl() - Constructor for class jsimple.oauth.services.TimestampServiceImpl
 
toArray() - Method in class jsimple.util.ArrayList
Returns a new array containing all elements contained in this ArrayList.
toArray(E[]) - Method in class jsimple.util.ArrayList
Returns an array containing all elements contained in this ArrayList.
toArray() - Method in class jsimple.util.Collection
Returns a new array containing all elements contained in this Collection.
toArray(E[]) - Method in class jsimple.util.Collection
Copies all elements contained in this Collection to the specified array.
toBinaryString(int) - Static method in class jsimple.util.IntegerUtil
Converts the specified integer into its binary string representation.
toBinaryString(long) - Static method in class jsimple.util.LongUtil
Converts the specified long value into its binary string representation.
toByteArray() - Method in class jsimple.io.ByteArrayOutputStream
Returns the contents of this ByteArrayOutputStream as a byte array.
toByteArray() - Method in class jsimple.util.ByteArrayRange
Get a byte array just for this range.
toByteFromHexCharacter(char) - Static method in class jsimple.util.StringUtils
Convert a hex character to it's equivalent byte.
toBytesFromHexString(String) - Static method in class jsimple.util.StringUtils
Convert a hexadecimal string to a byte array.
toDecimalString(int) - Static method in class jsimple.util.IntegerUtil
 
toHexString(int) - Static method in class jsimple.util.IntegerUtil
Converts the specified integer into its hexadecimal string representation.
toHexString(long) - Static method in class jsimple.util.LongUtil
Converts the specified long value into its hexadecimal string representation.
toHexStringFromBytes(byte[]) - Static method in class jsimple.util.StringUtils
Convert a byte array to a hexadecimal string.
token - Variable in class jsimple.json.readerwriter.JsonArrayReader
 
token - Variable in class jsimple.json.readerwriter.JsonObjectReader
 
Token - Class in jsimple.json.text
 
Token(Reader) - Constructor for class jsimple.json.text.Token
 
TOKEN - Static variable in class jsimple.oauth.model.OAuthConstants
 
Token - Class in jsimple.oauth.model
Represents an OAuth token (either request or access token) and its secret
Token(String, String) - Constructor for class jsimple.oauth.model.Token
Default constructor
Token(String, String, String) - Constructor for class jsimple.oauth.model.Token
 
TOKEN_SECRET - Static variable in class jsimple.oauth.model.OAuthConstants
 
TokenExtractor20Impl - Class in jsimple.oauth.extractors
Default implementation of .
TokenExtractor20Impl() - Constructor for class jsimple.oauth.extractors.TokenExtractor20Impl
 
TokenExtractorImpl - Class in jsimple.oauth.extractors
Default implementation of and .
TokenExtractorImpl() - Constructor for class jsimple.oauth.extractors.TokenExtractorImpl
 
TokenType - Enum in jsimple.json.text
 
toLatin1BytesFromString(String) - Static method in class jsimple.util.StringUtils
Convert a string, assumed to contain only Latin1 (aka 8859-1 aka Windows 1252) characters, to a byte array.
toLong(Object) - Static method in class jsimple.json.Json
 
toMillis() - Method in class jsimple.util.DateTime
 
toRFC3339String() - Method in class jsimple.util.DateTime
 
toString() - Method in class jsimple.io.Path
 
toString() - Method in class jsimple.io.StringWriter
Gets a copy of the contents of this writer as a string.
toString() - Method in class jsimple.json.objectmodel.JsonNull
 
toString() - Method in class jsimple.json.objectmodel.JsonObjectOrArray
 
toString() - Method in class jsimple.oauth.model.OAuthRequest
 
toString() - Method in class jsimple.oauth.model.Token
 
toString(T[]) - Static method in class jsimple.util.Arrays
Creates a String representation of the array passed.
toString() - Method in class jsimple.util.BoxedInteger
 
toString() - Method in class jsimple.util.BoxedLong
 
toString(char) - Static method in class jsimple.util.CharacterUtil
Converts the specified character to its string representation.
toString() - Method in class jsimple.util.Collection
Returns the string representation of this Collection.
toString() - Method in class jsimple.util.DateTime
 
toString(int) - Static method in class jsimple.util.IntegerUtil
Converts the specified integer into its decimal string representation.
toString(long) - Static method in class jsimple.util.LongUtil
Converts the specified long value into its decimal string representation.
toString() - Method in class jsimple.util.Map
Returns the string representation of this map.
toString() - Method in class jsimple.util.MatchBuilder
Returns the substring currently matched by this MatchBuilder.
toString() - Method in class jsimple.util.TextualPath
Get a human friendly string representation of the path, using / as the delimiter.
toStringFromLatin1Bytes(byte[]) - Static method in class jsimple.util.StringUtils
Convert a byte array, assumed to be a Latin1 (aka 8859-1 aka Windows 1252) encoded string, to a regular Java string.
toStringFromLatin1Bytes(ByteArrayRange) - Static method in class jsimple.util.StringUtils
Convert a ByteArrayRange, assumed to be a Latin1 (aka 8859-1 aka Windows 1252) encoded string, to a regular Java string.
toStringFromMap(Map<K, V>) - Static method in class jsimple.oauth.utils.MapUtils
 
toStringFromReader(Reader) - Static method in class jsimple.io.IOUtils
Converts the reader contents to a string.
toStringFromUtf8Bytes(byte[]) - Static method in class jsimple.io.IOUtils
Convert the byte array, assumed to be UTF-8 character data, to a string.
toStringFromUtf8Bytes(byte[], int, int) - Static method in class jsimple.io.IOUtils
Convert the subset of the byte array, from position through position + length - 1, assumed to be a UTF-8 character data, to a string.
toStringFromUtf8Bytes(ByteArrayRange) - Static method in class jsimple.io.IOUtils
 
toStringFromUtf8Stream(InputStream) - Static method in class jsimple.io.IOUtils
Converts the stream contents, assumed to be a UTF-8 character data, to a string.
toUtf8Bytes() - Method in class jsimple.json.objectmodel.JsonObjectOrArray
 
toUtf8BytesFromString(String) - Static method in class jsimple.io.IOUtils
Converts the string to a UTF-8 byte array.
TRACE - Static variable in class jsimple.logging.Level
 
trace(String) - Method in class jsimple.logging.Logger
Log a message at the TRACE level.
trace(String, Object) - Method in class jsimple.logging.Logger
Log a message at the TRACE level according to the specified format and argument.
trace(String, Object, Object) - Method in class jsimple.logging.Logger
Log a message at the TRACE level according to the specified format and arguments.
trace(String, Object...) - Method in class jsimple.logging.Logger
Log a message at the TRACE level according to the specified format and arguments.
trace(String, Throwable) - Method in class jsimple.logging.Logger
Log an exception (throwable) at the TRACE level with an accompanying message.
traceEnterLeave(String) - Method in class jsimple.logging.Logger
 
traceEnterLeave(String, Object...) - Method in class jsimple.logging.Logger
 
trimToSize() - Method in class jsimple.util.ArrayList
Sets the capacity of this ArrayList to be the same as the current size.
TumblrOAuthApi - Class in jsimple.oauth.builder.api
 
TumblrOAuthApi() - Constructor for class jsimple.oauth.builder.api.TumblrOAuthApi
 
TwitterOAuthApi - Class in jsimple.oauth.builder.api
 
TwitterOAuthApi() - Constructor for class jsimple.oauth.builder.api.TwitterOAuthApi
 
TwitterOAuthApi.Authenticate - Class in jsimple.oauth.builder.api
Twitter 'friendlier' authorization endpoint for OAuth.
TwitterOAuthApi.Authorize - Class in jsimple.oauth.builder.api
Just an alias to the default (SSL) authorization endpoint.
TwitterOAuthApi.SSL - Class in jsimple.oauth.builder.api
 

U

UnitTest - Class in jsimple.unit
Created with IntelliJ IDEA.
UnitTest() - Constructor for class jsimple.unit.UnitTest
 
UnitTestBase - Class in jsimple.unit
 
UnitTestBase() - Constructor for class jsimple.unit.UnitTestBase
 
UnknownHostException - Exception in jsimple.net
This is a platform independent class used to represent I/O exceptions, taking the place of java.io.IOException in JSimple based code.
UnknownHostException(Throwable) - Constructor for exception jsimple.net.UnknownHostException
 
UnknownHostException(String) - Constructor for exception jsimple.net.UnknownHostException
 
UnknownHostException(String, Throwable) - Constructor for exception jsimple.net.UnknownHostException
 
update(byte) - Method in class jsimple.oauth.utils.Sha1
Adds a single byte to the digest.
update(byte[]) - Method in class jsimple.oauth.utils.Sha1
Adds a byte array to the digest.
update(byte[], int, int) - Method in class jsimple.oauth.utils.Sha1
Adds a portion of a byte array to the digest.
Url - Class in jsimple.net
 
Url(String) - Constructor for class jsimple.net.Url
 
UrlDecoder - Class in jsimple.net
This class was based on, and modified from, the Apache Harmony java.net.URLDecoder class.
UrlDecoder() - Constructor for class jsimple.net.UrlDecoder
 
UrlEncoder - Class in jsimple.net
 
UrlEncoder() - Constructor for class jsimple.net.UrlEncoder
 
useSystemProxy() - Static method in class jsimple.util.PlatformUtils
Use the whatever proxy settings are configured in the OS.
Utf8InputStreamReader - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.InputStreamWriter class.
Utf8InputStreamReader(InputStream) - Constructor for class jsimple.io.Utf8InputStreamReader
Constructs a new InputStreamReader on the InputStream in.
Utf8InputStreamReader(ByteArrayRange) - Constructor for class jsimple.io.Utf8InputStreamReader
 
Utf8OutputStreamWriter - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.OutputStreamWriter class.
Utf8OutputStreamWriter(OutputStream) - Constructor for class jsimple.io.Utf8OutputStreamWriter
Constructs a new OutputStreamWriter using out as the target stream to write converted characters to.
Utf8OutputStreamWriter(OutputStream, boolean) - Constructor for class jsimple.io.Utf8OutputStreamWriter
Constructs a new OutputStreamWriter using out as the target stream to write converted characters to.
Utils - Class in jsimple.util
Created with IntelliJ IDEA.
Utils() - Constructor for class jsimple.util.Utils
 

V

valueOf(String) - Static method in enum jsimple.json.text.TokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum jsimple.oauth.model.SignatureType
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in class jsimple.util.BoxedInteger
 
valueOf(int) - Static method in class jsimple.util.BoxedLong
 
values() - Static method in enum jsimple.json.text.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum jsimple.oauth.model.SignatureType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class jsimple.util.HashMap
Returns a collection of the values contained in this map.
values() - Method in class jsimple.util.Map
Returns a Collection of the values contained in this Map.
Verb - Class in jsimple.oauth.model
An enumeration containing the most common HTTP Verbs.
Verb() - Constructor for class jsimple.oauth.model.Verb
 
VERIFIER - Static variable in class jsimple.oauth.model.OAuthConstants
 
Verifier - Class in jsimple.oauth.model
Represents an OAuth verifier code.
Verifier(String) - Constructor for class jsimple.oauth.model.Verifier
Default constructor.
VERSION - Static variable in class jsimple.oauth.model.OAuthConstants
 
visit(Directory) - Method in interface jsimple.io.DirectoryVisitor
 
visit(File) - Method in interface jsimple.io.FileVisitor
 
visitChildren(FileVisitor, DirectoryVisitor, VisitFailed) - Method in class jsimple.io.Directory
Visit the child elements of this path--basically list the files and subdirectories of a directory, calling the visitor for each.
visitChildren(FileVisitor, DirectoryVisitor) - Method in class jsimple.io.Directory
Visit the child elements of this path--basically list the files and subdirectories of a directory, calling the visitor for each.
visitChildren(FileVisitor, DirectoryVisitor, VisitFailed) - Method in class jsimple.io.FileSystemDirectory
Visit the child elements of this path--basically list the files and subdirectories of a directory, calling the visitor for each.
VisitFailed - Interface in jsimple.io
 
visitFailed(String, IOException) - Method in interface jsimple.io.VisitFailed
Called to indicate that the visit to the file/directory fails (e.g.

W

WARN - Static variable in class jsimple.logging.Level
 
warn(String) - Method in class jsimple.logging.Logger
Log a message at the WARN level.
warn(String, Object) - Method in class jsimple.logging.Logger
Log a message at the WARN level according to the specified format and argument.
warn(String, Object...) - Method in class jsimple.logging.Logger
Log a message at the WARN level according to the specified format and arguments.
warn(String, Object, Object) - Method in class jsimple.logging.Logger
Log a message at the WARN level according to the specified format and arguments.
warn(String, Throwable) - Method in class jsimple.logging.Logger
Log an exception (throwable) at the WARN level with an accompanying message.
write(byte[], int, int) - Method in class jsimple.io.ByteArrayOutputStream
Writes count bytes from the byte array buffer starting at offset index to this stream.
write(int) - Method in class jsimple.io.ByteArrayOutputStream
Writes the specified byte oneByte to the OutputStream.
write(int) - Method in class jsimple.io.JSimpleOutputStreamOnJavaStream
 
write(byte[]) - Method in class jsimple.io.JSimpleOutputStreamOnJavaStream
 
write(byte[], int, int) - Method in class jsimple.io.JSimpleOutputStreamOnJavaStream
 
write(byte[]) - Method in class jsimple.io.OutputStream
Writes the entire contents of the byte array buffer to this stream.
write(byte[], int, int) - Method in class jsimple.io.OutputStream
Writes count bytes from the byte array buffer starting at position offset to this stream.
write(ByteArrayRange) - Method in class jsimple.io.OutputStream
 
write(int) - Method in class jsimple.io.OutputStream
Writes a single byte to this stream.
write(char[], int, int) - Method in class jsimple.io.StringWriter
Writes count characters starting at offset in buffer to this writer's StringBuffer.
write(int) - Method in class jsimple.io.StringWriter
Writes one character to this writer's StringBuffer.
write(String) - Method in class jsimple.io.StringWriter
Writes the characters from the specified string to this writer's StringBuffer.
write(String, int, int) - Method in class jsimple.io.StringWriter
Writes count characters from str starting at offset to this writer's StringBuffer.
write(char[], int, int) - Method in class jsimple.io.Utf8OutputStreamWriter
Writes count characters starting at offset in buf to this writer.
write(char[]) - Method in class jsimple.io.Writer
Writes the entire character buffer buf to the target.
write(char[], int, int) - Method in class jsimple.io.Writer
Writes count characters starting at offset in buf to the target.
write(int) - Method in class jsimple.io.Writer
Writes one character to the target.
write(String) - Method in class jsimple.io.Writer
Writes the characters from the specified string to the target.
write(String, int, int) - Method in class jsimple.io.Writer
Writes count characters from str starting at offset to the target.
write(Writer) - Method in class jsimple.json.objectmodel.JsonObjectOrArray
 
write(JsonObjectWriter) - Method in class jsimple.json.readerwriter.JsonArrayProperty
 
write(JsonObjectWriter, boolean) - Method in class jsimple.json.readerwriter.JsonBooleanProperty
 
write(JsonObjectWriter, double) - Method in class jsimple.json.readerwriter.JsonDoubleProperty
 
write(JsonObjectWriter, int) - Method in class jsimple.json.readerwriter.JsonIntProperty
 
write(JsonObjectWriter, long) - Method in class jsimple.json.readerwriter.JsonLongProperty
 
write(JsonObjectWriter) - Method in class jsimple.json.readerwriter.JsonObjectProperty
 
write(JsonObjectWriter, String) - Method in class jsimple.json.readerwriter.JsonStringProperty
 
write(String) - Method in class jsimple.json.text.Serializer
 
writeArray(Writer) - Static method in class jsimple.json.Json
Serialize a JSON array, item by item.
writeArray() - Method in class jsimple.json.readerwriter.JsonArrayWriter
 
writeArrayProperty(JsonArrayProperty) - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
writeHexDigit(int) - Method in class jsimple.json.text.Serializer
 
writeIndent() - Method in class jsimple.json.text.Serializer
Append spaces for the current indent.
writeJsonArray(JsonArray) - Method in class jsimple.json.text.Serializer
Append a JSON array.
writeJsonObject(JsonObject) - Method in class jsimple.json.text.Serializer
Write a JSON object.
writeLatin1EncodedString(String) - Method in class jsimple.io.OutputStream
Write the string, assumed to contain only Latin1 characters (Unicode low 256 characters), to the stream.
writeln() - Method in class jsimple.io.Writer
Write the line separator.
writeln(String) - Method in class jsimple.io.Writer
Writes the characters from the specified string followed by a line separator.
writeObject(Writer) - Static method in class jsimple.json.Json
Serialize a JSON array, item by item.
writeObject() - Method in class jsimple.json.readerwriter.JsonArrayWriter
 
writeObjectProperty(JsonObjectProperty) - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
writeProeprty(String, Object) - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
writeProperty(JsonProperty, Object) - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
writePropertyName(String) - Method in class jsimple.json.readerwriter.JsonObjectWriter
 
Writer - Class in jsimple.io
This class was based on, and modified from, the Apache Harmony java.io.Writer class.
Writer() - Constructor for class jsimple.io.Writer
 
WriterAppender - Class in jsimple.logging.stdimpl
 
WriterAppender(Writer) - Constructor for class jsimple.logging.stdimpl.WriterAppender
 
writeString(String) - Method in class jsimple.json.text.Serializer
 
writeUnicodeEscape(char) - Method in class jsimple.json.text.Serializer
 
writeUtf8EncodedString(String) - Method in class jsimple.io.OutputStream
Write the string to the stream using UTF-8 encoding.
writeValue(Object) - Method in class jsimple.json.readerwriter.JsonArrayWriter
Add a value to the array, serializing it.
writeValue(Object) - Method in class jsimple.json.text.Serializer
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links