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

AbstractAddDates - Class in com.github.vincentrussell.json.datagenerator.functions.impl
abstract add time intervals to Date function
AbstractAddDates() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AbstractAddDates
 
AbstractCharStream - Class in com.github.vincentrussell.json.datagenerator.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
AbstractCharStream(int, int, int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Constructor.
AddDays - Class in com.github.vincentrussell.json.datagenerator.functions.impl
addDays to Date function
AddDays() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AddDays
 
addDays(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddDays
add days to date
addDays(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddDays
add days to the date
addEscapes(String) - Static method in exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
AddHours - Class in com.github.vincentrussell.json.datagenerator.functions.impl
addHours to Date function
AddHours() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AddHours
 
addHours(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddHours
add hours to date
addHours(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddHours
add hours to the date
addInterval(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AbstractAddDates
call this method from the subclasses to add an interval to a date
addInterval(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AbstractAddDates
call this method from the subclasses to add an interval to a date
AddMinutes - Class in com.github.vincentrussell.json.datagenerator.functions.impl
addMinutes to Date function
AddMinutes() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AddMinutes
 
addMinutes(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddMinutes
add minutes to date
addMinutes(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddMinutes
add minutes to the date
AddMonths - Class in com.github.vincentrussell.json.datagenerator.functions.impl
addMonths to Date function
AddMonths() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AddMonths
 
addMonths(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddMonths
add months to date
addMonths(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddMonths
add months to the date
AddSeconds - Class in com.github.vincentrussell.json.datagenerator.functions.impl
addSeconds to Date function
AddSeconds() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AddSeconds
 
addSeconds(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddSeconds
add seconds to date
addSeconds(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddSeconds
add seconds to the date
AddWeeks - Class in com.github.vincentrussell.json.datagenerator.functions.impl
addWeeks to Date function
AddWeeks() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AddWeeks
 
addWeeks(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddWeeks
add weeks to date
addWeeks(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddWeeks
add weeks to the date
AddYears - Class in com.github.vincentrussell.json.datagenerator.functions.impl
addYears to Date function
AddYears() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AddYears
 
addYears(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddYears
add years to date
addYears(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddYears
add years to the date
adjustBeginLineColumn(int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Method to adjust line and column numbers for the start of a token.
Alpha - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random string with alphabetic characters (defaults to between 10 and 20 characters)
Alpha() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Alpha
 
AlphaNumeric - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random string with alpha-numeric characters (defaults to between 10 and 20 characters)
AlphaNumeric() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.AlphaNumeric
 
available - Variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
The number of unoccupied buffer array positions

B

backup(int) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
backup(int) - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
Backs up the input stream by amount steps.
beginColumn - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
The column number of the first character of this Token.
beginLine - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
The line number of the first character of this Token.
beginToken() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
beginToken() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
Bool - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random boolean with given probability
Bool() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Bool
 
BOUND_MAX_IPV4_NUMBER - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.Ipv4
 
buffer - Variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Internal circular buffer
bufpos - Variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Current read position in buffer.
bufsize - Variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Overall buffer size - same as buffer.length
ByteArrayBackupToFileOutputStream - Class in com.github.vincentrussell.json.datagenerator.impl
OutputStream that will write to an byte array before overflowing to a file
ByteArrayBackupToFileOutputStream() - Constructor for class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
constructor with default settings
ByteArrayBackupToFileOutputStream(int, int) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
constructor

C

CharStream - Interface in com.github.vincentrussell.json.datagenerator.parser
This interface describes a character stream that maintains line and column number positions of the characters.
children - Variable in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
City - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random city
City() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.City
 
city() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.City
function call
clearNodeScope(Node) - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
CLIMain - Class in com.github.vincentrussell.json.datagenerator
Main class for command line interface
close() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
close() - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
close() - Method in class com.github.vincentrussell.json.datagenerator.impl.NonCloseableBufferedOutputStream
close() - Method in class com.github.vincentrussell.json.datagenerator.impl.TimeoutInputStream
 
closeNodeScope(Node, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
closeNodeScope(Node, boolean) - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
com.github.vincentrussell.json.datagenerator - package com.github.vincentrussell.json.datagenerator
default package.
com.github.vincentrussell.json.datagenerator.functions - package com.github.vincentrussell.json.datagenerator.functions
helper code for running functions.
com.github.vincentrussell.json.datagenerator.functions.impl - package com.github.vincentrussell.json.datagenerator.functions.impl
default implementations for functions.
com.github.vincentrussell.json.datagenerator.impl - package com.github.vincentrussell.json.datagenerator.impl
data generator implementation code.
com.github.vincentrussell.json.datagenerator.parser - package com.github.vincentrussell.json.datagenerator.parser
 
Company - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random company name
Company() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Company
 
company() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Company
function call
Concat - Class in com.github.vincentrussell.json.datagenerator.functions.impl
concat strings together
Concat() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Concat
 
concat(String...) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Concat
function call
copyToOutputStream(OutputStream) - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
Copy the contents of this OutputStream to a new OutputStream.
CountriesList - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random company name
CountriesList() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.CountriesList
 
Country - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random country
Country() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Country
 
country() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Country
function call
curChar - Variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
 
currentToken - Variable in exception com.github.vincentrussell.json.datagenerator.parser.ParseException
This is the last token that has been consumed successfully.

D

Date - Class in com.github.vincentrussell.json.datagenerator.functions.impl
functions with dates
Date() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Date
 
date() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Date
generate a date with "now"
date(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Date
function call for now date with SimpleDateFormat
date(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Date
random date between begin date and end date
date(String, String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Date
random date between begin date and end date
date(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Date
 
DateFormat - Class in com.github.vincentrussell.json.datagenerator.functions.impl
convert dates to different formats
DateFormat() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.DateFormat
 
dateFormat(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.DateFormat
function call to change format of date
DEFAULT - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
Lexical state.
DEFAULT_BUF_SIZE - Static variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Default buffer size if nothing is specified
DEFAULT_DATE_STRING - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.Date
 
DEFAULT_DATE_STRING - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestamp
 
DEFAULT_DATE_STRING - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestampSeconds
 
DEFAULT_FORMATTER - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.Time
 
DEFAULT_INPUT_FORMAT - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.Date
 
DEFAULT_INPUT_FORMAT - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.Time
 
DEFAULT_READ_AHEAD_LIMIT - Static variable in class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
 
DIGIT - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
disable_tracing() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Disable tracing.
done() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
done() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
DOUBLE_QUOTED_STRING_LITERAL - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
DoubleQuotedStringLiteral() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
dump(String) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
dumpString(String) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 

E

Email - Class in com.github.vincentrussell.json.datagenerator.functions.impl
function for andom email address
Email() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Email
 
email() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Email
random email address
email(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Email
random email address
enable_tracing() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Enable tracing.
endColumn - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
The column number of the last character of this Token.
endLine - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
The line number of the last character of this Token.
ENTER_JSON_TEXT - Static variable in class com.github.vincentrussell.json.datagenerator.CLIMain
 
EOF - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
End of File.
EOL - Static variable in exception com.github.vincentrussell.json.datagenerator.parser.ParseException
The end of line string for this machine.
executeFunction(String, String...) - Method in class com.github.vincentrussell.json.datagenerator.functions.FunctionRegistry
execution a function based on the name of that function and it's argumetns
expandBuff(boolean) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
expectedTokenSequences - Variable in exception com.github.vincentrussell.json.datagenerator.parser.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.

F

fillBuff() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
FirstName - Class in com.github.vincentrussell.json.datagenerator.functions.impl
function for random first name
FirstName() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.FirstName
 
firstName(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.FirstName
random firstname for a particular gender
firstName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.FirstName
random firstname with 50/50 possibility of being male name
FLOATING_POINT_LITERAL - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
FormalParameter() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
FormalParameters() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
Function - Annotation Type in com.github.vincentrussell.json.datagenerator.functions
helper annotation to register function classes that hold methods that are called
Function() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
FunctionInvocation - Annotation Type in com.github.vincentrussell.json.datagenerator.functions
helper annotation to register methods on a function class
FunctionName() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
FunctionParser - Class in com.github.vincentrussell.json.datagenerator.parser
An Arithmetic Grammar.
FunctionParser(InputStream) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Constructor with InputStream.
FunctionParser(InputStream, Charset) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Constructor with InputStream and supplied encoding
FunctionParser(Reader) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Constructor with InputStream.
FunctionParser(FunctionParserTokenManager) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Constructor with generated Token Manager.
FunctionParserConstants - Interface in com.github.vincentrussell.json.datagenerator.parser
Token literal values and constants.
FunctionParserTokenManager - Class in com.github.vincentrussell.json.datagenerator.parser
Token Manager.
FunctionParserTokenManager(SimpleCharStream) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Constructor.
FunctionParserTokenManager(SimpleCharStream, int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Constructor.
FunctionParserTreeConstants - Interface in com.github.vincentrussell.json.datagenerator.parser
 
FunctionRegistry - Class in com.github.vincentrussell.json.datagenerator.functions
Class responsible for registering functions so that they can be used from within the data generator
FunctionRegistry() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.FunctionRegistry
this is a singleton so private constructor
FunctionReplacingReader - Class in com.github.vincentrussell.json.datagenerator.impl
Reader capable of finding functions in the reader and running them
FunctionReplacingReader(Reader, TokenResolver) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
Reader that can find the functions from another reader and replace them
FunctionTokenResolver - Class in com.github.vincentrussell.json.datagenerator.impl
TokenResolver implementation that will try to run the functions for the tockens
FunctionTokenResolver(FunctionRegistry) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.FunctionTokenResolver
 
FunctionUtils - Class in com.github.vincentrussell.json.datagenerator.functions.impl
Function utilities

G

Gender - Class in com.github.vincentrussell.json.datagenerator.functions.impl
function to return a random gender
Gender() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Gender
 
gender() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Gender
random gender with 50/50 possibility of being male
gender(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Gender
random gender with probability of being male
generateParseException() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Generate ParseException.
generateTestDataJson(String, OutputStream) - Method in class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
Generate json test data
generateTestDataJson(URL, OutputStream) - Method in class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
Generate json test data
generateTestDataJson(File, OutputStream) - Method in class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
Generate json test data
generateTestDataJson(File, File) - Method in class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
Generate json test data
generateTestDataJson(InputStream, OutputStream) - Method in class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
Generate json test data
generateTestDataJson(String, OutputStream) - Method in interface com.github.vincentrussell.json.datagenerator.JsonDataGenerator
Generate json test data
generateTestDataJson(URL, OutputStream) - Method in interface com.github.vincentrussell.json.datagenerator.JsonDataGenerator
Generate json test data
generateTestDataJson(File, OutputStream) - Method in interface com.github.vincentrussell.json.datagenerator.JsonDataGenerator
Generate json test data
generateTestDataJson(File, File) - Method in interface com.github.vincentrussell.json.datagenerator.JsonDataGenerator
Generate json test data
generateTestDataJson(InputStream, OutputStream) - Method in interface com.github.vincentrussell.json.datagenerator.JsonDataGenerator
Generate json test data
Get - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get a value from the cache
Get(FunctionRegistry) - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Get
 
get(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Get
get a value from the cache
get(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.SystemProperty
get a value from the system properties
getAlpha(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Alpha
Function call with min and max arguments
getAlpha() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Alpha
Default function call
getAlpha(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Alpha
Function call with length
getAlphaNumeric(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AlphaNumeric
Function call with min and max arguments
getAlphaNumeric() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AlphaNumeric
Default function call
getAlphaNumeric(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AlphaNumeric
Function call with length
getBeginColumn() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getBeginColumn() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
getBeginLine() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getBeginLine() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
getBufSizeAfterExpansion() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getColumn() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getCountriesList() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.CountriesList
get all countries list
getCountriesList(String...) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.CountriesList
get countries list based on countri codes
getEndColumn() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getEndColumn() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
getEndLine() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getEndLine() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
getGetAndPutCache() - Method in class com.github.vincentrussell.json.datagenerator.functions.FunctionRegistry
the cache that is used to gets and puts in the Get and Put
getId() - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
 
getId() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
getImage() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getImage() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
getIndex() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Index
function call with default index name
getIndex(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Index
index for given index name
getIndex(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Index
index for index name
getLength() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
get the byte length of the OutputStream
getLine() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getLorem(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.LoremIpsum
lorem ipsum words or paragraphs
getMessage() - Method in exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
You can also modify the body of this method to customize your error messages.
getMethod(String, String...) - Method in class com.github.vincentrussell.json.datagenerator.functions.FunctionRegistry
find a method based on name and it's arguments
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AbstractAddDates
override this method to indicate with method on DateUtils could be called
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddDays
 
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddHours
 
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddMinutes
 
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddMonths
 
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddSeconds
 
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddWeeks
 
getMethodName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.AddYears
 
getNewInputStream() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
create an InputStream based on the data written to the OutputStream
getNextIndex() - Method in class com.github.vincentrussell.json.datagenerator.impl.IndexHolder
get next index.
getNextToken() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
getNextToken() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Get the next Token.
getObjectId() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ObjectId
random objectId (12 byte hex string):
getRandomBool() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Bool
random boolean of true or false
getRandomBool(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Bool
random boolean of true or false
getRandomDouble(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomDouble
get random double in range
getRandomDouble(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomDouble
get random number with format (eg.
getRandomElementFromArray(String[]) - Static method in class com.github.vincentrussell.json.datagenerator.functions.impl.FunctionUtils
return a random element in array
getRandomFloat(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomFloat
get random float
getRandomFloat(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomFloat
get random number with format (eg.
getRandomInteger(Integer, Integer) - Static method in class com.github.vincentrussell.json.datagenerator.functions.impl.FunctionUtils
get random integer between min and max
getRandomInteger(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomInteger
get random integer within range
getRandomLong(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomLong
random long within range
getRandomUUID() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.UUID
random uuid
getRandomUUID(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.UUID
random hex string for random 16 bytes
getStringIndexHolderMap() - Method in class com.github.vincentrussell.json.datagenerator.functions.FunctionRegistry
get the map that is responsible for keeping track of indices via the IndexHolder
getSuffix(int) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getSuffix(int) - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
getTabSize() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
getTabSize() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 
getToken(int) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
getValue() - Method in class com.github.vincentrussell.json.datagenerator.parser.Token
An optional attribute value of the Token.

H

Hex - Class in com.github.vincentrussell.json.datagenerator.functions.impl
lowercase hex string
Hex() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Hex
 
hex() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Hex
random hex string for random 16 bytes
hex(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Hex
random hexstring with specified byte size

I

id - Variable in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
IDENTIFIER - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
image - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
The string image of the token.
inBuf - Variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Characters in the backup/pushBack buffer
Index - Class in com.github.vincentrussell.json.datagenerator.functions.impl
an incrementing index integer
Index(FunctionRegistry) - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Index
 
IndexHolder - Class in com.github.vincentrussell.json.datagenerator.impl
class used to support auto-incrementing index function in test data json.
IndexHolder(int) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.IndexHolder
index holder with index starting with another number.
input_stream - Variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
 
INTEGER - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
internalAdjustBuffSize() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
internalSetBufLineColumn(int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
internalUpdateLineColumn(char) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
INVALID_LEXICAL_STATE - Static variable in exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
Tried to change to an invalid lexical state.
Ipv4 - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random ipv4 address
Ipv4() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Ipv4
 
ipv4() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Ipv4
random ipv4 email address
Ipv6 - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random ipv6 address
Ipv6() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Ipv6
 
ipv6() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Ipv6
random ipv6 address
ipV6(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Ipv6
get random ipv6 address
isTrackLineColumn() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
isTrackLineColumn() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
 

J

jj_nt - Variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Next token.
jjFillToken() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
 
jjnewLexState - Static variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Token literal values.
jjtAddChild(Node, int) - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
This method tells the node to add its argument to the node's list of children.
jjtAddChild(Node, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
jjtClose() - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
This method is called after all the child nodes have been added.
jjtClose() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
JJTDOUBLEQUOTEDSTRINGLITERAL - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JJTFORMALPARAMETER - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JJTFORMALPARAMETERS - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JJTFUNCTION - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JJTFUNCTIONNAME - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JJTFunctionParserState - Class in com.github.vincentrussell.json.datagenerator.parser
 
JJTFunctionParserState() - Constructor for class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
jjtGetChild(int) - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
This method returns a child node.
jjtGetChild(int) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
jjtGetNumChildren() - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
 
jjtGetNumChildren() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
jjtGetParent() - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
 
jjtGetParent() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
jjtGetValue() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
jjtNodeName - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JJTNUMBER - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
jjtOpen() - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
This method is called after the node has been made the current node.
jjtOpen() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
JJTPARSE - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
jjtree - Variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
jjtSetParent(Node) - Method in interface com.github.vincentrussell.json.datagenerator.parser.Node
Set the parent node of this node
jjtSetParent(Node) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
jjtSetValue(Object) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
JJTSINGLEQUOTEDSTRINGLITERAL - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JJTSTART - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserTreeConstants
 
JsonDataGenerator - Interface in com.github.vincentrussell.json.datagenerator
interface for class that streams json generation to OutputStream
JsonDataGeneratorException - Exception in com.github.vincentrussell.json.datagenerator
default exception thrown when using the data generator
JsonDataGeneratorException() - Constructor for exception com.github.vincentrussell.json.datagenerator.JsonDataGeneratorException
default constructor
JsonDataGeneratorException(String) - Constructor for exception com.github.vincentrussell.json.datagenerator.JsonDataGeneratorException
Constructs a new exception with the specified detail message.
JsonDataGeneratorException(String, Throwable) - Constructor for exception com.github.vincentrussell.json.datagenerator.JsonDataGeneratorException
Constructs a new exception with the specified detail message and cause.
JsonDataGeneratorException(Throwable) - Constructor for exception com.github.vincentrussell.json.datagenerator.JsonDataGeneratorException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
JsonDataGeneratorException(String, Throwable, boolean, boolean) - Constructor for exception com.github.vincentrussell.json.datagenerator.JsonDataGeneratorException
 
JsonDataGeneratorImpl - Class in com.github.vincentrussell.json.datagenerator.impl
default implementation for JsonDataGenerator
JsonDataGeneratorImpl(FunctionRegistry) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
 
JsonDataGeneratorImpl() - Constructor for class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
 

K

kind - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
An integer that describes the kind of this token.

L

LastName - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random last name
LastName() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.LastName
 
lastName() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.LastName
get random last name
LETTER - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
LEXICAL_ERROR - Static variable in exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
Lexical error occurred.
LexicalErr(boolean, int, int, int, String, int) - Static method in exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Lexer state names.
LONG_PATTERN - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomLong
 
LOOP_DETECTED - Static variable in exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
Detected (and bailed out of) an infinite loop in the token manager.
LoremIpsum - Class in com.github.vincentrussell.json.datagenerator.functions.impl
lorem ipsum words or paragraphs
LoremIpsum() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.LoremIpsum
 

M

main(String[]) - Static method in class com.github.vincentrussell.json.datagenerator.CLIMain
main method for command line interface
main(String[]) - Static method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Main entry point.
mark() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
Marks the current position in this input stream.
mark(int) - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
markSupported() - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
maxNextCharInd - Variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 

N

newToken(int, String) - Static method in class com.github.vincentrussell.json.datagenerator.parser.Token
Returns a new Token object, by default.
newToken(int) - Static method in class com.github.vincentrussell.json.datagenerator.parser.Token
 
next - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
A reference to the next regular (non-special) token from the input stream.
Node - Interface in com.github.vincentrussell.json.datagenerator.parser
 
nodeArity() - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
nodeCreated() - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
NonCloseableBufferedOutputStream - Class in com.github.vincentrussell.json.datagenerator.impl
A BufferedOutputStream that cannot be closed; only flushed
NonCloseableBufferedOutputStream(OutputStream) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.NonCloseableBufferedOutputStream
Creates a new buffered output stream to write data to the specified underlying output stream.
NonCloseableBufferedOutputStream(OutputStream, int) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.NonCloseableBufferedOutputStream
Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.
Number() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
NUMBER - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.

O

ObjectId - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random objectId (12 byte hex string):
ObjectId() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.ObjectId
 
ONE_THOUSAND_MILLISECONDS - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.TimestampSeconds
 
ONE_THOUSAND_MILLISECONDS - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestampSeconds
 
openNodeScope(Node) - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 

P

parent - Variable in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
Parse() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
ParseException - Exception in com.github.vincentrussell.json.datagenerator.parser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception com.github.vincentrussell.json.datagenerator.parser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception com.github.vincentrussell.json.datagenerator.parser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception com.github.vincentrussell.json.datagenerator.parser.ParseException
Constructor with message.
parser - Variable in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
peekNode() - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
Phone - Class in com.github.vincentrussell.json.datagenerator.functions.impl
Random phone number
Phone() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Phone
 
phone() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Phone
get random phone number
popNode() - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
pushNode(Node) - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
Put - Class in com.github.vincentrussell.json.datagenerator.functions.impl
store a value in the cache
Put(FunctionRegistry) - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Put
 
put(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Put
put a value in the cache

R

Random - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random item from list
Random() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Random
 
random(String...) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Random
random item from list:
RANDOM_DATA_GENERATOR - Static variable in class com.github.vincentrussell.json.datagenerator.functions.impl.RandomLong
 
RandomDouble - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get random double in range
RandomDouble() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.RandomDouble
 
RandomFloat - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get random float between min and max
RandomFloat() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.RandomFloat
 
RandomInteger - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get Random integer
RandomInteger() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.RandomInteger
 
RandomLong - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random long within range
RandomLong() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.RandomLong
 
read(CharBuffer) - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
read() - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
read(char[]) - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
read(char[], int, int) - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
read() - Method in class com.github.vincentrussell.json.datagenerator.impl.TimeoutInputStream
 
readChar() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
readChar() - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
Get the next character from the selected input.
ready() - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
Regexify - Class in com.github.vincentrussell.json.datagenerator.functions.impl
Generate random strings based on regex
Regexify() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Regexify
 
regexify(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Regexify
 
regexify(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Regexify
 
registerClass(Class<?>) - Method in class com.github.vincentrussell.json.datagenerator.functions.FunctionRegistry
register a class that has functions
reInit(int, int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Reinitialise.
ReInit(InputStream) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Reinitialise
ReInit(InputStream, Charset) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Reinitialise
ReInit(Reader) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Reinitialise
ReInit(FunctionParserTokenManager) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Reinitialise
ReInit(SimpleCharStream) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Reinitialise parser.
reInit(Reader, int, int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Reinitialise.
reInit(Reader, int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Reinitialise.
reInit(Reader) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Reinitialise.
reInit(InputStream, Charset) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Reinitialise.
reInit(InputStream, Charset, int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Reinitialise.
reInit(InputStream, Charset, int, int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Reinitialise.
Repeat - Class in com.github.vincentrussell.json.datagenerator.functions.impl
function used to handle repeats within the json.
Repeat() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Repeat
 
repeat(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Repeat
gets the string of a random integer between lower range (inclusive) and upper range (inclusive)
repeat(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Repeat
gets the string form of the passed in integer
REPEAT - Static variable in class com.github.vincentrussell.json.datagenerator.impl.JsonDataGeneratorImpl
 
reset() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
reset() - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 
ResetIndex - Class in com.github.vincentrussell.json.datagenerator.functions.impl
reset an index
ResetIndex(FunctionRegistry) - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.ResetIndex
 
resetIndex() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ResetIndex
reset the default index
resetIndex(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ResetIndex
reset index for given index name
resetIndex() - Method in class com.github.vincentrussell.json.datagenerator.impl.IndexHolder
reset the index
resolveToken(CharSequence) - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionTokenResolver
process text in json and run return the results of processing the json tokens.
resolveToken(CharSequence) - Method in interface com.github.vincentrussell.json.datagenerator.TokenResolver
process text in json and run return the results of processing the json tokens.
rootNode() - Method in class com.github.vincentrussell.json.datagenerator.parser.JJTFunctionParserState
 

S

setFunctionRegistry(FunctionRegistry) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
setLength(long) - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
set the length of the OutputStream
setTabSize(int) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
setTabSize(int) - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
Set the tab size to use.
setTrackLineColumn(boolean) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
 
setTrackLineColumn(boolean) - Method in interface com.github.vincentrussell.json.datagenerator.parser.CharStream
Enable or disable line number and column number tracking.
SimpleCharStream - Class in com.github.vincentrussell.json.datagenerator.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, Charset, int, int, int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, Charset, int, int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, Charset) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
Constructor.
SimpleNode - Class in com.github.vincentrussell.json.datagenerator.parser
 
SimpleNode(int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
SimpleNode(FunctionParser, int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
SINGLE_QUOTED_STRING_LITERAL - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
SingleQuotedStringLiteral() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 
size() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
get the number or bytes written to the OutputStream
skip(long) - Method in class com.github.vincentrussell.json.datagenerator.impl.FunctionReplacingReader
specialToken - Variable in class com.github.vincentrussell.json.datagenerator.parser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
Ssn - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random social security number
Ssn() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Ssn
 
ssn() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Ssn
get random social security number
Start() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Main production.
State - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get random state
State() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.State
 
state() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.State
get random state
STATIC_LEXER_ERROR - Static variable in exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
An attempt was made to create a second instance of a static token manager.
streamClose() - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Close the underlying stream.
streamClose() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
 
streamRead(char[], int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
Read from the underlying stream.
streamRead(char[], int, int) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleCharStream
 
Street - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get random street
Street() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Street
 
street() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Street
get random street
Substring - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get substring from other string
Substring() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Substring
 
substring(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Substring
Returns a string that is a substring of this string.
substring(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Substring
Returns a string that is a substring of this string.
SwitchTo(int) - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParserTokenManager
Switch to specified lex state.
SystemProperty - Class in com.github.vincentrussell.json.datagenerator.functions.impl
get a value from a system property
SystemProperty() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.SystemProperty
 

T

TERM - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
RegularExpression Id.
Time - Class in com.github.vincentrussell.json.datagenerator.functions.impl
functions with time
Time() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Time
 
time() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Time
generate a time representing "now"
time(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Time
generate a time representing now with a particular time format
time(String, String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Time
random time in between two ranges
TimeoutInputStream - Class in com.github.vincentrussell.json.datagenerator.impl
InputStream wrapper that will timeout if read doesn't happen within specified time
TimeoutInputStream(InputStream, long, TimeUnit) - Constructor for class com.github.vincentrussell.json.datagenerator.impl.TimeoutInputStream
default constuctor
Timestamp - Class in com.github.vincentrussell.json.datagenerator.functions.impl
timestamp (milliseconds, between the current time and midnight, January 1, 1970 UTC):
Timestamp() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Timestamp
 
timestamp() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Timestamp
timestamp based on "now"
timestamp(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Timestamp
random timestamp between two dates
TimestampSeconds - Class in com.github.vincentrussell.json.datagenerator.functions.impl
timestamp (seconds, between the current time and midnight, January 1, 1970 UTC):
TimestampSeconds() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.TimestampSeconds
 
timestampSeconds() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.TimestampSeconds
timestamp based on "now"
timestampSeconds(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.TimestampSeconds
random timestamp in seconds between two dates
toHex() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
convert the current buffer for text...
token - Variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Current token.
Token - Class in com.github.vincentrussell.json.datagenerator.parser
Describes the input token stream.
Token() - Constructor for class com.github.vincentrussell.json.datagenerator.parser.Token
No-argument constructor
Token(int) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class com.github.vincentrussell.json.datagenerator.parser.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
Generated Token Manager.
tokenBegin - Variable in class com.github.vincentrussell.json.datagenerator.parser.AbstractCharStream
The first array index (of `buffer`) that the current token starts
tokenImage - Static variable in interface com.github.vincentrussell.json.datagenerator.parser.FunctionParserConstants
Literal token values.
tokenImage - Variable in exception com.github.vincentrussell.json.datagenerator.parser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrException - Exception in com.github.vincentrussell.json.datagenerator.parser
Token Manager Error.
TokenMgrException() - Constructor for exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
No arg constructor.
TokenMgrException(String, int) - Constructor for exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
Constructor with message and reason.
TokenMgrException(boolean, int, int, int, String, int, int) - Constructor for exception com.github.vincentrussell.json.datagenerator.parser.TokenMgrException
Full Constructor.
TokenResolver - Interface in com.github.vincentrussell.json.datagenerator
interface for processing functions in the test data.
ToLower - Class in com.github.vincentrussell.json.datagenerator.functions.impl
lower case a string
ToLower() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.ToLower
 
toLowerCase(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ToLower
lower case a string
toString() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
toString() - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
toString(String) - Method in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 
toString() - Method in class com.github.vincentrussell.json.datagenerator.parser.Token
Returns the image.
ToTimestamp - Class in com.github.vincentrussell.json.datagenerator.functions.impl
lower case a string
ToTimestamp() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestamp
 
toTimestamp(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestamp
convert date string to timestamp
toTimestamp(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestamp
convert date string to timestamp
ToTimestampSeconds - Class in com.github.vincentrussell.json.datagenerator.functions.impl
lower case a string
ToTimestampSeconds() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestampSeconds
 
toTimestampSeconds(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestampSeconds
convert date string to timestamp
toTimestampSeconds(String, String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ToTimestampSeconds
convert date string to timestamp
ToUpper - Class in com.github.vincentrussell.json.datagenerator.functions.impl
upper case a string
ToUpper() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.ToUpper
 
toUpperCase(String) - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.ToUpper
upper case a string
trace_enabled() - Method in class com.github.vincentrussell.json.datagenerator.parser.FunctionParser
 

U

unwrite() - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
remove one byte from the written outputstream
Username - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random username based on first initial from rnadom first name and lastname lowercased
Username() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.Username
 
username() - Method in class com.github.vincentrussell.json.datagenerator.functions.impl.Username
random username based on first initial from rnadom first name and lastname lowercased
UUID - Class in com.github.vincentrussell.json.datagenerator.functions.impl
random uuid
UUID() - Constructor for class com.github.vincentrussell.json.datagenerator.functions.impl.UUID
 

V

value - Variable in class com.github.vincentrussell.json.datagenerator.parser.SimpleNode
 

W

write(int) - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
write(byte[], int, int) - Method in class com.github.vincentrussell.json.datagenerator.impl.ByteArrayBackupToFileOutputStream
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

Copyright © 2022. All rights reserved.