A B C D E G H I K L M N O P R S T U V Y 

A

AbstractInstantHandler - Class in us.bpsm.edn.parser
This class may be extended to support additional #inst representations.
AbstractInstantHandler() - Constructor for class us.bpsm.edn.parser.AbstractInstantHandler
 
add(Object) - Method in interface us.bpsm.edn.parser.CollectionBuilder
Add an item to the collection being built.
append(CharSequence) - Method in interface us.bpsm.edn.printer.Printer
Append the given characters to the underlying character stream.
append(char) - Method in interface us.bpsm.edn.printer.Printer
Append the given character to the underlying character stream.

B

BIG_DECIMAL_TAG - Static variable in interface us.bpsm.edn.parser.Parser.Config
Floating point literals which are marked by a trailing "M" are initially parsed as BigDecimal.
BIG_INTEGER_TAG - Static variable in interface us.bpsm.edn.parser.Parser.Config
Integer literals marked by a trailing "N", and those not so marked which lie outside the range of a Long are initially parsed as BigInteger.
build() - Method in interface us.bpsm.edn.parser.CollectionBuilder
Return the collection containing all the elements previously added.
build() - Method in interface us.bpsm.edn.parser.Parser.Config.Builder
Build and return the Parser.Config described by the sequence of calls made on this Builder.
build() - Method in interface us.bpsm.edn.protocols.Protocol.Builder
Build and return the Protocol described by the preceding calls made on this Builder.
builder() - Method in interface us.bpsm.edn.parser.CollectionBuilder.Factory
Returns a new CollectionBuilder.
builder(String) - Static method in class us.bpsm.edn.protocols.Protocols
Return a new, empty single-use Protocol.Builder with the given name.

C

calendarToString(GregorianCalendar) - Static method in class us.bpsm.edn.parser.InstantUtils
Return a String suitable for use as an edn #inst, given a GregorianCalendar.
CharClassify - Class in us.bpsm.edn.util
 
close() - Method in interface us.bpsm.edn.printer.Printer
Close the underlying sequence of characters.
CollectionBuilder - Interface in us.bpsm.edn.parser
The parser uses each CollectionBuilder to build a set, map, vector or list.
CollectionBuilder.Factory - Interface in us.bpsm.edn.parser
The parser uses CollectionBuilder.Factory instances to get a fresh CollectionBuilder each time it needs to build a set, map, vector or list.
compareTo(Keyword) - Method in class us.bpsm.edn.Keyword
 
compareTo(Symbol) - Method in class us.bpsm.edn.Symbol
 
compareTo(Tag) - Method in class us.bpsm.edn.Tag
 

D

dateToString(Date) - Static method in class us.bpsm.edn.parser.InstantUtils
Return a String suitable for use as an edn #inst, given a Date.
days - Variable in class us.bpsm.edn.parser.ParsedInstant
Day of the month: 01-28, 01-29, 01-30, 01-31 based on month/year.
defaultConfiguration() - Static method in class us.bpsm.edn.parser.Parsers
Return the default configuration.
defaultPrinterProtocol() - Static method in class us.bpsm.edn.printer.Printers
Return the default printer Protocol.
defaultProtocolBuilder() - Static method in class us.bpsm.edn.printer.Printers
Returns a Protocol.Builder configured to produce a Protocol which knows how to print these types of values: BigDecimal BigInteger Boolean Byte (as an integer) CharSequence (as a string literal) Character (as a character literal) Date (as #inst) Double Float GregorianCalendar (as #inst) Integer Keyword List Long Map Set Short (as an integer) Symbol Tag TaggedValue Timestamp (as #inst) UUID (as #uuid)
DOUBLE_TAG - Static variable in interface us.bpsm.edn.parser.Parser.Config
Floating point literals not marked by a trailing "M" are initially parsed as Double.

E

EDN_INSTANT - Static variable in interface us.bpsm.edn.parser.Parser.Config
This is the #inst tag specified by edn.
EDN_UUID - Static variable in interface us.bpsm.edn.parser.Parser.Config
This is the #uuid tag specified by edn.
EdnException - Exception in us.bpsm.edn
EdnException is thrown when something goes wrong during the operation of edn-java.
EdnException() - Constructor for exception us.bpsm.edn.EdnException
 
EdnException(String, Throwable) - Constructor for exception us.bpsm.edn.EdnException
 
EdnException(String) - Constructor for exception us.bpsm.edn.EdnException
 
EdnException(Throwable) - Constructor for exception us.bpsm.edn.EdnException
 
EdnIOException - Exception in us.bpsm.edn
Indicates that an I/O error occurred.
EdnIOException(String, IOException) - Constructor for exception us.bpsm.edn.EdnIOException
 
EdnIOException(IOException) - Constructor for exception us.bpsm.edn.EdnIOException
 
EdnSyntaxException - Exception in us.bpsm.edn
EdnSyntaxException is thrown when a syntax error is discovered during parsing.
EdnSyntaxException() - Constructor for exception us.bpsm.edn.EdnSyntaxException
 
EdnSyntaxException(String, Throwable) - Constructor for exception us.bpsm.edn.EdnSyntaxException
 
EdnSyntaxException(String) - Constructor for exception us.bpsm.edn.EdnSyntaxException
 
EdnSyntaxException(Throwable) - Constructor for exception us.bpsm.edn.EdnSyntaxException
 
EMPTY - Static variable in interface us.bpsm.edn.Named
 
END_OF_INPUT - Static variable in interface us.bpsm.edn.parser.Parseable
The value returned by Parseable.read() to indicate the end of input available through this Parseable.
END_OF_INPUT - Static variable in interface us.bpsm.edn.parser.Parser
The value returned by Parser.nextValue(Parseable) to indicate that no more values will can be parsed form the a given Parseable.
equals(Object) - Method in class us.bpsm.edn.parser.ParsedInstant
 
equals(Object) - Method in class us.bpsm.edn.Symbol
 
equals(Object) - Method in class us.bpsm.edn.Tag
 
equals(Object) - Method in class us.bpsm.edn.TaggedValue
 
eval(E, Printer) - Method in interface us.bpsm.edn.printer.Printer.Fn
Implementations which may provoke an IOException should wrapping it in an EdnIOException before re-throwing it.

G

getCause() - Method in exception us.bpsm.edn.EdnIOException
 
getListFactory() - Method in interface us.bpsm.edn.parser.Parser.Config
Provide a CollectionBuilder.Factory to receive the contents of a list literal.
getMapFactory() - Method in interface us.bpsm.edn.parser.Parser.Config
Provide a CollectionBuilder.Factory to receive the contents of a map literal.
getName() - Method in class us.bpsm.edn.Keyword
The name of this named thing, not including any prefix.
getName() - Method in interface us.bpsm.edn.Named
The name of this named thing, not including any prefix.
getName() - Method in class us.bpsm.edn.Symbol
The name of this named thing, not including any prefix.
getName() - Method in class us.bpsm.edn.Tag
The name of this named thing, not including any prefix.
getPrefix() - Method in class us.bpsm.edn.Keyword
The prefix, (also called namespace), which may be empty.
getPrefix() - Method in interface us.bpsm.edn.Named
The prefix, (also called namespace), which may be empty.
getPrefix() - Method in class us.bpsm.edn.Symbol
The prefix, (also called namespace), which may be empty.
getPrefix() - Method in class us.bpsm.edn.Tag
The prefix, (also called namespace), which may be empty.
getSetFactory() - Method in interface us.bpsm.edn.parser.Parser.Config
Provide a CollectionBuilder.Factory to receive the contents of a set literal.
getTag() - Method in class us.bpsm.edn.TaggedValue
Returns this TaggedValue's tag, which is never null.
getTagHandler(Tag) - Method in interface us.bpsm.edn.parser.Parser.Config
Return the TagHandler associated with the given Tag, or null.
getValue() - Method in class us.bpsm.edn.TaggedValue
 
getVectorFactory() - Method in interface us.bpsm.edn.parser.Parser.Config
Provide a CollectionBuilder.Factory to receive the contents of a vector literal.

H

hashCode() - Method in class us.bpsm.edn.parser.ParsedInstant
 
hashCode() - Method in class us.bpsm.edn.Symbol
 
hashCode() - Method in class us.bpsm.edn.Tag
 
hashCode() - Method in class us.bpsm.edn.TaggedValue
 
hours - Variable in class us.bpsm.edn.parser.ParsedInstant
Hours of the day: 00-23.

I

InstantToCalendar - Class in us.bpsm.edn.parser
A Handler for #inst which translates the instant into a Calendar.
InstantToCalendar() - Constructor for class us.bpsm.edn.parser.InstantToCalendar
 
InstantToDate - Class in us.bpsm.edn.parser
A Handler for #inst which translates the instant into a Date.
InstantToDate() - Constructor for class us.bpsm.edn.parser.InstantToDate
 
InstantToTimestamp - Class in us.bpsm.edn.parser
A Handler for #inst which translates the instant into a Timestamp.
InstantToTimestamp() - Constructor for class us.bpsm.edn.parser.InstantToTimestamp
 
InstantUtils - Class in us.bpsm.edn.parser
 
InstantUtils() - Constructor for class us.bpsm.edn.parser.InstantUtils
 
isDigit(char) - Static method in class us.bpsm.edn.util.CharClassify
 
isWhitespace(char) - Static method in class us.bpsm.edn.util.CharClassify
 

K

Keyword - Class in us.bpsm.edn
A Keyword is Named.

L

LONG_TAG - Static variable in interface us.bpsm.edn.parser.Parser.Config
Integer literals which lie inside the range of a Long and are not marked by a trailing "N" are initially parsed as Long.
lookup(Class) - Method in interface us.bpsm.edn.protocols.Protocol
Return the F associated with selfClass.
LoosePrinter - Class in us.bpsm.edn.printer
A Loose printer prints almost as compactly as the default printer, except that it inserts a few discretionary spaces to improve readability for debugging scenarios.
LoosePrinter() - Constructor for class us.bpsm.edn.printer.LoosePrinter
 

M

minutes - Variable in class us.bpsm.edn.parser.ParsedInstant
Minutes of the hour: 00-59.
months - Variable in class us.bpsm.edn.parser.ParsedInstant
Month of the year: 01-12.

N

name() - Method in interface us.bpsm.edn.protocols.Protocol
The name of this protocol.
Named - Interface in us.bpsm.edn
A named thing has a local name which may be further qualified by a prefix.
nanoseconds - Variable in class us.bpsm.edn.parser.ParsedInstant
Nanoseconds of the second: 0-999999999.
newKeyword(Symbol) - Static method in class us.bpsm.edn.Keyword
 
newKeyword(String, String) - Static method in class us.bpsm.edn.Keyword
Provide a Keyword with the given prefix and name.
newKeyword(String) - Static method in class us.bpsm.edn.Keyword
This is equivalent to newKeyword("", name).
newLoosePrinter(Appendable) - Static method in class us.bpsm.edn.printer.LoosePrinter
 
newParseable(CharSequence) - Static method in class us.bpsm.edn.parser.Parsers
Create a new Parseable wrapping the given CharSequence.
newParseable(Readable) - Static method in class us.bpsm.edn.parser.Parsers
Create a new Parseable wrapping the given Readable.
newParser(Parser.Config) - Static method in class us.bpsm.edn.parser.Parsers
Return a Parser configured by the given Parser.Config.
newParserConfigBuilder() - Static method in class us.bpsm.edn.parser.Parsers
Return a new Parser.Config.Builder.
newPrinter(Appendable) - Static method in class us.bpsm.edn.printer.Printers
Return a new Printer with the default printing protocol.
newPrinter(Protocol<Printer.Fn<?>>, Appendable) - Static method in class us.bpsm.edn.printer.Printers
Return a new Printer with the printing protocol given as fns.
newScanner() - Static method in class us.bpsm.edn.parser.Scanners
Provides a Scanner.
newSymbol(String, String) - Static method in class us.bpsm.edn.Symbol
Provide a Symbol with the given prefix and name.
newSymbol(String) - Static method in class us.bpsm.edn.Symbol
Equivalent to newSymbol("", name).
newTag(Symbol) - Static method in class us.bpsm.edn.Tag
Return a Tag with the same prefix and name as sym.
newTag(String, String) - Static method in class us.bpsm.edn.Tag
Provide a Tag with the given prefix and name.
newTag(String) - Static method in class us.bpsm.edn.Tag
This is equivalent to newTag("", name).
newTaggedValue(Tag, Object) - Static method in class us.bpsm.edn.TaggedValue
Return a tagged value for the given tag and value (some edn data).
nextToken(Parseable) - Method in interface us.bpsm.edn.parser.Scanner
The next token read from the given Parseable may be any of the members of Token or instances of the Java classes used to represent atomic values recognized by Scanner.
nextValue(Parseable) - Method in interface us.bpsm.edn.parser.Parser
Return the next value parsed from pbr.

O

offsetHours - Variable in class us.bpsm.edn.parser.ParsedInstant
The whole hour component of the time zone offset: [0-23].
offsetMinutes - Variable in class us.bpsm.edn.parser.ParsedInstant
The minute component of the time zone offset: [0-59].
offsetSign - Variable in class us.bpsm.edn.parser.ParsedInstant
The sign of the timezone offset as follows:

P

Parseable - Interface in us.bpsm.edn.parser
An edn Parser parses text from Objects implementing this interface.
ParsedInstant - Class in us.bpsm.edn.parser
ParsedInstant contains the pared contents of a RFC3339 style time stamp.
ParsedInstant(int, int, int, int, int, int, int, int, int, int) - Constructor for class us.bpsm.edn.parser.ParsedInstant
 
Parser - Interface in us.bpsm.edn.parser
A Parser knows how to parse edn values from any Parseable.
Parser.Config - Interface in us.bpsm.edn.parser
Config describes the complete configuration of a Parser.
Parser.Config.Builder - Interface in us.bpsm.edn.parser
This Builder is used to create a Parser.Config.
Parsers - Class in us.bpsm.edn.parser
Factory methods for all things related to Parser.
prettyPrinterProtocol() - Static method in class us.bpsm.edn.printer.Printers
 
prettyProtocolBuilder() - Static method in class us.bpsm.edn.printer.Printers
 
Printer - Interface in us.bpsm.edn.printer
A Printer knows how to print edn values in edn syntax to an underlying stream of characters.
Printer.Fn<E> - Interface in us.bpsm.edn.printer
 
Printers - Class in us.bpsm.edn.printer
Factory for creating Printers and related Objects.
printString(Object) - Static method in class us.bpsm.edn.printer.Printers
Print ednValue to a new String using the default printing protocol.
printString(Protocol<Printer.Fn<?>>, Object) - Static method in class us.bpsm.edn.printer.Printers
Print ednValue to a new String using the printing protocol given as fns.
printValue(Object) - Method in interface us.bpsm.edn.printer.Printer
Print ednValue in edn syntax to the underlying character stream.
Protocol<F> - Interface in us.bpsm.edn.protocols
A Protocol is a thread-safe immutable mapping from classes to values of some type F.
Protocol.Builder<F> - Interface in us.bpsm.edn.protocols
A single-use builder for Protocol.
Protocols - Class in us.bpsm.edn.protocols
Factories for Protocols
put(Class, F) - Method in interface us.bpsm.edn.protocols.Protocol.Builder
Associate the F fn with the class selfClass.
putTagHandler(Tag, TagHandler) - Method in interface us.bpsm.edn.parser.Parser.Config.Builder
Register handler as the handler to be called with tag is encountered by the parser.

R

read() - Method in interface us.bpsm.edn.parser.Parseable
Read and return the next character from this Parseable as a non-negative integer, or Parseable.END_OF_INPUT.

S

Scanner - Interface in us.bpsm.edn.parser
A Scanner knows how to read syntactically correct edn tokens from any Parseable.
Scanners - Class in us.bpsm.edn.parser
Factory for creating Scanners.
seconds - Variable in class us.bpsm.edn.parser.ParsedInstant
Seconds of the minute: 00-58, 00-59, 00-60 based on leap second rules.
separatesTokens(char) - Static method in class us.bpsm.edn.util.CharClassify
 
setListFactory(CollectionBuilder.Factory) - Method in interface us.bpsm.edn.parser.Parser.Config.Builder
Use f to provide CollectionBuilders for representing list literals.
setMapFactory(CollectionBuilder.Factory) - Method in interface us.bpsm.edn.parser.Parser.Config.Builder
Use f to provide CollectionBuilders for representing map literals.
setSetFactory(CollectionBuilder.Factory) - Method in interface us.bpsm.edn.parser.Parser.Config.Builder
Use f to provide CollectionBuilders for representing set literals.
setVectorFactory(CollectionBuilder.Factory) - Method in interface us.bpsm.edn.parser.Parser.Config.Builder
Use f to provide CollectionBuilders for representing vector literals.
softspace() - Method in interface us.bpsm.edn.printer.Printer
Increment the internal softspace counter.
startsNumber(char) - Static method in class us.bpsm.edn.util.CharClassify
 
Symbol - Class in us.bpsm.edn
A Symbol is Named.
symbolConstituent(char) - Static method in class us.bpsm.edn.util.CharClassify
 
symbolStart(char) - Static method in class us.bpsm.edn.util.CharClassify
 

T

Tag - Class in us.bpsm.edn
A Tag is Named.
TaggedValue - Class in us.bpsm.edn
A Tagged value that received no specific handling because the Parser was not configured with a handler for its tag.
TagHandler - Interface in us.bpsm.edn.parser
When a Parser encounters #tag someEdnValue, it uses the TagHandler registered for #tag to transform someEdnValue before including it in the results of the parse.
timestampToString(Timestamp) - Static method in class us.bpsm.edn.parser.InstantUtils
Return a String suitable for use as an edn #inst, given a Timestamp.
Token - Enum in us.bpsm.edn.parser
The members of this enum are a subset of the values that may be returned by Scanner.nextToken(Parseable).
toString() - Method in class us.bpsm.edn.Keyword
 
toString() - Method in class us.bpsm.edn.parser.ParsedInstant
 
toString() - Method in class us.bpsm.edn.Symbol
 
toString() - Method in class us.bpsm.edn.Tag
 
toString() - Method in class us.bpsm.edn.TaggedValue
 
transform(Tag, Object) - Method in class us.bpsm.edn.parser.AbstractInstantHandler
 
transform(ParsedInstant) - Method in class us.bpsm.edn.parser.AbstractInstantHandler
This will be called by the Parser when parsing an #inst value.
transform(ParsedInstant) - Method in class us.bpsm.edn.parser.InstantToCalendar
 
transform(ParsedInstant) - Method in class us.bpsm.edn.parser.InstantToDate
 
transform(ParsedInstant) - Method in class us.bpsm.edn.parser.InstantToTimestamp
 
transform(Tag, Object) - Method in interface us.bpsm.edn.parser.TagHandler
Consume originalValue, which is some edn value, returning the value to replace it.

U

unread(int) - Method in interface us.bpsm.edn.parser.Parseable
Unread ch, such that the next call to read() will return ch.
us.bpsm.edn - package us.bpsm.edn
This package provides the classes (not already provided by Java) needed to represent edn values.
us.bpsm.edn.parser - package us.bpsm.edn.parser
This package provides a Parser for edn.
us.bpsm.edn.printer - package us.bpsm.edn.printer
This package provides a Printer to convert values to edn text.
us.bpsm.edn.protocols - package us.bpsm.edn.protocols
This package provides the basis for implementing the printer.
us.bpsm.edn.util - package us.bpsm.edn.util
 

V

valueOf(String) - Static method in enum us.bpsm.edn.parser.Token
Returns the enum constant of this type with the specified name.
values() - Static method in enum us.bpsm.edn.parser.Token
Returns an array containing the constants of this enum type, in the order they are declared.

Y

years - Variable in class us.bpsm.edn.parser.ParsedInstant
The year: -9999-9999.
A B C D E G H I K L M N O P R S T U V Y 

Copyright © 2019. All rights reserved.