public class PlateReader extends BufferedReader
Formats |
|---|
| Plate Map |
| Result Table |
| JSON |
| XML |
Example Result Plate Map:
| Result | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| A | 9114 | 2667 | 4214 | 5154 | 1293 | 7882 |
| B | 8953 | 4827 | 5149 | 9792 | 2514 | 6448 |
| C | 6328 | 4896 | 5130 | 9655 | 5120 | 1485 |
| D | 2661 | 5290 | 4057 | 2374 | 1200 | 2724 |
Example Result Table:
| Result | |
| Index | Value |
| A1 | 4877 |
| A2 | 5032 |
| A3 | 6723 |
| B1 | 4981 |
Example Result JSON:
{
"results" : [ {
"type" : "Integer",
"label" : "Example Result",
"size" : 10,
"wells" : {
"A11" : 5645,
"A2" : 6149,
"A5" : 5846,
"D10" : 5895,
"D2" : 5452,
"E4" : 5682,
"E8" : 6116,
"E9" : 4945,
"G6" : 5874,
"H1" : 4911
}
} ]
}
Example Result XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<results>
<result>
<type>Double</type>
<label>Example Result</label>
<size>3</size>
<wells>
<well>
<index>A2</index>
<value>55873951592640616</value>
</well>
<well>
<index>A3</index>
<value>5303191840271489</value>
</well>
<well>
<index>A4</index>
<value>4902962476222037</value>
</well>
</wells>
</result>
</results>
Example Well JSON:
{
"wells" : [ {
"type" : "Integer",
"index" : "F8",
"size" : 24,
"values" : [ 1511, 2882, 5254 ]
} ]
}
Example Well Set JSON:
{
"wellsets" : [ {
"type" : "Integer",
"label" : "Example Well Set",
"size" : 1,
"wells" : [ {
"index" : "A3",
"values" : [ 4470, 9116, 5215 ]
} ]
} ]
}
Example Plate JSON:
{
"plates" : [ {
"type" : "Integer",
"label" : "Example Plate",
"descriptor" : "96-Well",
"rows" : 8,
"columns" : 12,
"size" : 1,
"wellsets" : [ {
"label" : "Example Well Set",
"size" : 3,
"wells" : [ "C5", "D4", "F7" ]
} ],
"wells" : [ {
"index" : "A7",
"values" : [ 4451, 3453, 5592 ]
} ]
} ]
}
Example Stack JSON:
{
"stacks" : [ {
"type" : "Integer",
"label" : "Example Stack",
"rows" : 8,
"columns" : 12,
"size" : 1,
"plates" : [ {
"type" : "Integer",
"label" : "Example Plate",
"descriptor" : "96-Well",
"rows" : 8,
"columns" : 12,
"size" : 1,
"wellsets" : [ {
"label" : "Example Well Set",
"size" : 3,
"wells" : [ "B6", "G1", "G12" ]
} ],
"wells" : [ {
"index" : "A2",
"values" : [ 3594, 2817, 2100 ]
} ]
} ]
} ]
}
Example Well XML:
<wells>
<well>
<type>Double</type>
<index>H8</index>
<size>24</size>
<values>
<value>7870</value>
<value>7296</value>
<value>3898</value>
</values>
</well>
</wells>
Example Well Set XML:
<wellsets>
<wellset>
<type>Double</type>
<label>Example Well Set</label>
<size>1</size>
<wells>
<well>
<index>A11</index>
<values>
<value>1739</value>
<value>5465</value>
<value>5412</value>
</values>
</well>
</wells>
</wellset>
</wellsets>
Example Plate XML:
<plates>
<plate>
<type>Double</type>
<label>Example Plate</label>
<descriptor>96-Well</descriptor>
<rows>8</rows>
<columns>12</columns>
<size>1</size>
<wellsets>
<wellset>
<label>Example Well Set</label>
<size>3</size>
<wells>
<well>B12</well>
<well>E2</well>
<well>H8</well>
</wells>
</wellset>
</wellsets>
<wells>
<well>
<index>A5</index>
<values>
<value>1389</value>
<value>9246</value>
<value>1948</value>
</values>
</well>
</wells>
</plate>
</plates>
Example Stack XML:
<stacks>
<stack>
<type>Double</type>
<label>Example Stack</label>
<rows>8</rows>
<columns>12</columns>
<size>1</size>
<plates>
<plate>
<type>Double</type>
<label>Example Plate</label>
<descriptor>96-Well</descriptor>
<rows>8</rows>
<columns>12</columns>
<size>1</size>
<wellsets>
<wellset>
<label>Example Well Set</label>
<size>3</size>
<wells>
<well>B7</well>
<well>H2</well>
<well>H3</well>
</wells>
</wellset>
</wellsets>
<wells>
<well>
<index>A2</index>
<values>
<value>1303</value>
<value>5321</value>
<value>2808</value>
</values>
</well>
</wells>
</plate>
</plates>
</stack>
</stacks>
| Constructor and Description |
|---|
PlateReader(File source)
Constructs a new reader for a buffering character input stream using
the default buffer size.
|
PlateReader(File source,
int size)
Constructs a new reader for a buffering character input stream using
an input buffer of the specified size.
|
PlateReader(InputStream source)
Constructs a new reader for a buffering character input stream using
the default buffer size.
|
PlateReader(InputStream source,
Charset set)
Constructs a new reader for a buffering character input stream using
the default buffer size.
|
PlateReader(InputStream source,
CharsetDecoder decoder)
Constructs a new reader for a buffering character input stream using
the default buffer size.
|
PlateReader(InputStream source,
CharsetDecoder decoder,
int size)
Constructs a new reader for a buffering character input stream using
an input buffer of the specified size.
|
PlateReader(InputStream source,
int size)
Constructs a new reader for a buffering character input stream using
an input buffer of the specified size.
|
PlateReader(InputStream source,
String charsetName,
int size)
Constructs a new reader for a buffering character input stream using
an input buffer of the specified size.
|
PlateReader(Reader source)
Constructs a new reader for a buffering character input stream using
the default buffer size.
|
PlateReader(Reader source,
int size)
Constructs a new reader for a buffering character input stream using
an input buffer of the specified size.
|
PlateReader(String fileName)
Constructs a new reader for a buffering character input stream using
the default buffer size.
|
PlateReader(String fileName,
int size)
Constructs a new reader for a buffering character input stream using the
specified file source and charset name.
|
| Modifier and Type | Method and Description |
|---|---|
List<Plate> |
allJSONPlates()
Returns a list containing all the JSON plates in the list.
|
List<WellSet> |
allJSONResults()
Returns a list containing all the JSON results in the list.
|
List<WellSet> |
allJSONSets()
Returns a list containing all the JSON sets in the list.
|
List<Stack> |
allJSONStacks()
Returns a list containing all the JSON stacks in the list.
|
List<Well> |
allJSONWells()
Returns a list containing all the JSON wells in the list.
|
List<Plate> |
allXMLPlates()
Returns a list containing all the XML plates in the list.
|
List<WellSet> |
allXMLResults()
Returns a list containing all the XML results in the list.
|
List<WellSet> |
allXMLSets()
Returns a list containing all the XML well sets in the list.
|
List<Stack> |
allXMLStacks()
Returns a list containing all the XML stacks in the list.
|
List<Well> |
allXMLWells()
Returns a list containing all the XML wells in the list.
|
String |
getDelimiter()
Returns the delimiter.
|
boolean |
hasNextJSONPlate()
Returns true if the the next plate POJO in the list is a valid plate.
|
boolean |
hasNextJSONResult()
Returns true if the the next result POJO in the list is a valid result.
|
boolean |
hasNextJSONSet()
Returns true if the the next set POJO in the list is a valid set.
|
boolean |
hasNextJSONStack()
Returns true if the the next stack POJO in the list is a valid stack.
|
boolean |
hasNextJSONWell()
Returns true if the the next well POJO in the list is a valid well.
|
boolean |
hasNextMap()
Returns true if the scanner has another plate map in its input.
|
boolean |
hasNextTable()
Returns true if the scanner has another table of wells in its input.
|
boolean |
hasNextXMLPlate()
Returns true if the the next XML plate in the list is a valid plate.
|
boolean |
hasNextXMLResult()
Returns true if the the next XML result in the list is a valid result.
|
boolean |
hasNextXMLSet()
Returns true if the the next XML well set in the list is a valid well set.
|
boolean |
hasNextXMLStack()
Returns true if the the next XML stack in the list is a valid stack.
|
boolean |
hasNextXMLWell()
Returns true if the the next XML well in the list is a valid well.
|
boolean |
hasPreviousJSONPlate()
Returns true if the the previous plate POJO in the list is a valid plate.
|
boolean |
hasPreviousJSONResult()
Returns true if the the previous result POJO in the list is a valid result.
|
boolean |
hasPreviousJSONSet()
Returns true if the the previous set POJO in the list is a valid set.
|
boolean |
hasPreviousJSONStack()
Returns true if the the previous stack POJO in the list is a valid stack.
|
boolean |
hasPreviousJSONWell()
Returns true if the the previous well POJO in the list is a valid well.
|
boolean |
hasPreviousXMLPlate()
Returns true if the the previous XML plate in the list is a valid plate.
|
boolean |
hasPreviousXMLResult()
Returns true if the the previous XML result in the list is a valid result.
|
boolean |
hasPreviousXMLSet()
Returns true if the the previous XML well set in the list is a valid well set.
|
boolean |
hasPreviousXMLStack()
Returns true if the the previous XML stack in the list is a valid stack.
|
boolean |
hasPreviousXMLWell()
Returns true if the the previous XML well in the list is a valid well.
|
Plate |
nextJSONPlate()
Parses the next plate in the plate list to a plate object and returns the
result.
|
WellSet |
nextJSONResult()
Parses the next result in the result list to a well set object and returns the
result.
|
WellSet |
nextJSONSet()
Parses the next set in the set list to a well set object and returns the
result.
|
Stack |
nextJSONStack()
Parses the next stack in the stack list to a stack object and returns the
result.
|
Well |
nextJSONWell()
Parses the next well in the well list to a well object and returns the
result.
|
Plate |
nextMap()
Scans the next token of the input as a plate map.
|
WellSet |
nextTable()
Scans the next token of the input as a table of wells.
|
Plate |
nextXMLPlate()
Parses the next plate in the plate list to a plate object and returns the
result.
|
WellSet |
nextXMLResult()
Parses the next result in the result list to a well set object and
returns the result.
|
WellSet |
nextXMLSet()
Parses the next well set in the well set list to a well set object and
returns the result.
|
Stack |
nextXMLStack()
Parses the next stack in the stack list to a stack object and returns the
result.
|
Well |
nextXMLWell()
Parses the next well in the well list to a well object and returns the
result.
|
Plate |
previousJSONPlate()
Parses the previous plate in the plate list to a plate object and returns the
result.
|
WellSet |
previousJSONResult()
Parses the previous result in the result list to a well set object and returns the
result.
|
WellSet |
previousJSONSet()
Parses the previous set in the set list to a well set object and returns the
result.
|
Stack |
previousJSONStack()
Parses the previous stack in the stack list to a stack object and returns the
result.
|
Well |
previousJSONWell()
Parses the previous well in the well list to a well object and returns the
result.
|
Plate |
previousXMLPlate()
Parses the previous plate in the plate list to a plate object and returns the
result.
|
WellSet |
previousXMLResult()
Parses the previous result in the result list to a well set object
and returns the result.
|
WellSet |
previousXMLSet()
Parses the previous well set in the well set list to a well set object
and returns the result.
|
Stack |
previousXMLStack()
Parses the previous stack in the stack list to a stack object and returns the
result.
|
Well |
previousXMLWell()
Parses the previous well in the well list to a well object and returns the
result.
|
List<Plate> |
remainingJSONPlates()
Returns a list containing the plate objects with an index greater than the
current index.
|
List<WellSet> |
remainingJSONResults()
Returns a list containing the result objects with an index greater than the
current index.
|
List<WellSet> |
remainingJSONSets()
Returns a list containing the set objects with an index greater than the
current index.
|
List<Stack> |
remainingJSONStacks()
Returns a list containing the stack objects with an index greater than the
current index.
|
List<Well> |
remainingJSONWells()
Returns a list containing the well objects with an index greater than the
current index.
|
List<Plate> |
remainingXMLPlates()
Returns a list containing the plate objects with an index greater than the
current index.
|
List<WellSet> |
remainingXMLResults()
Returns a list containing the result objects with an index greater than the
current index.
|
List<WellSet> |
remainingXMLSets()
Returns a list containing the well set objects with an index greater than the
current index.
|
List<Stack> |
remainingXMLStacks()
Returns a list containing the stack objects with an index greater than the
current index.
|
List<Well> |
remainingXMLWells()
Returns a list containing the well objects with an index greater than the
current index.
|
void |
setDelimiter(String delim)
Sets the delimiter.
|
List<Plate> |
spentJSONPlates()
Returns a list containing the plate objects with an index less than the
current index.
|
List<WellSet> |
spentJSONResults()
Returns a list containing the result objects with an index less than the
current index.
|
List<WellSet> |
spentJSONSets()
Returns a list containing the set objects with an index less than the
current index.
|
List<Stack> |
spentJSONStacks()
Returns a list containing the stack objects with an index less than the
current index.
|
List<Well> |
spentJSONWells()
Returns a list containing the well objects with an index less than the
current index.
|
List<Plate> |
spentXMLPlates()
Returns a list containing the plate objects with an index less than the
current index.
|
List<WellSet> |
spentXMLResults()
Returns a list containing the result objects with an index less than the
current index.
|
List<WellSet> |
spentXMLSets()
Returns a list containing the well set objects with an index less than the
current index.
|
List<Stack> |
spentXMLStacks()
Returns a list containing the stack objects with an index less than the
current index.
|
List<Well> |
spentXMLWells()
Returns a list containing the well objects with an index less than the
current index.
|
public PlateReader(Reader source)
Reader - the sourcepublic PlateReader(Reader source, int size)
Reader - reader sourceint - buffer sizeIOExceptionJAXBExceptionpublic PlateReader(InputStream source)
InputStream - input stream sourcepublic PlateReader(InputStream source, int size)
InputStream - input stream sourceint - buffer sizepublic PlateReader(InputStream source, Charset set)
InputStream - input stream sourceCharset - character setpublic PlateReader(InputStream source, String charsetName, int size) throws UnsupportedEncodingException
InputStream - input stream sourceString - character setint - buffer sizeUnsupportedEncodingExceptionpublic PlateReader(InputStream source, CharsetDecoder decoder)
InputStream - input stream sourceCharsetDecoder - decoderpublic PlateReader(InputStream source, CharsetDecoder decoder, int size)
InputStream - input stream sourceCharsetDecoder - decoderint - buffer sizepublic PlateReader(File source) throws IOException, JAXBException
File - source fileIOExceptionJAXBExceptionpublic PlateReader(File source, int size) throws FileNotFoundException
File - source fileint - buffer sizeFileNotFoundExceptionpublic PlateReader(String fileName) throws FileNotFoundException
File - the fileFileNotFoundExceptionpublic PlateReader(String fileName, int size) throws FileNotFoundException
File - the fileint - buffer sizeFileNotFoundExceptionIOExceptionJAXBExceptionpublic boolean hasNextMap()
public Plate nextMap()
public boolean hasNextTable()
public WellSet nextTable()
public boolean hasNextJSONResult()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousJSONResult()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic WellSet nextJSONResult()
public WellSet previousJSONResult()
public List<WellSet> remainingJSONResults()
public List<WellSet> spentJSONResults()
public List<WellSet> allJSONResults()
public boolean hasNextXMLResult()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousXMLResult()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic WellSet nextXMLResult()
public WellSet previousXMLResult()
public List<WellSet> remainingXMLResults()
public List<WellSet> spentXMLResults()
public List<WellSet> allXMLResults()
public boolean hasNextJSONWell()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousJSONWell()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic Well nextJSONWell()
public Well previousJSONWell()
public List<Well> remainingJSONWells()
public List<Well> spentJSONWells()
public List<Well> allJSONWells()
public boolean hasNextXMLWell()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousXMLWell()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic Well nextXMLWell()
public Well previousXMLWell()
public List<Well> remainingXMLWells()
public List<Well> spentXMLWells()
public List<Well> allXMLWells()
public boolean hasNextJSONSet()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousJSONSet()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic WellSet nextJSONSet()
public WellSet previousJSONSet()
public List<WellSet> remainingJSONSets()
public List<WellSet> spentJSONSets()
public List<WellSet> allJSONSets()
public boolean hasNextXMLSet()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousXMLSet()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic WellSet nextXMLSet()
public WellSet previousXMLSet()
public List<WellSet> remainingXMLSets()
public List<WellSet> spentXMLSets()
public List<WellSet> allXMLSets()
public boolean hasNextJSONPlate()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousJSONPlate()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic Plate nextJSONPlate()
public Plate previousJSONPlate()
public List<Plate> remainingJSONPlates()
public List<Plate> spentJSONPlates()
public List<Plate> allJSONPlates()
public boolean hasNextXMLPlate()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousXMLPlate()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic Plate nextXMLPlate()
public Plate previousXMLPlate()
public List<Plate> remainingXMLPlates()
public List<Plate> spentXMLPlates()
public List<Plate> allXMLPlates()
public boolean hasNextJSONStack()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousJSONStack()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic Stack nextJSONStack()
public Stack previousJSONStack()
public List<Stack> remainingJSONStacks()
public List<Stack> spentJSONStacks()
public List<Stack> allJSONStacks()
public boolean hasNextXMLStack()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic boolean hasPreviousXMLStack()
IOExceptioncom.github.fge.jsonschema.core.exceptions.ProcessingExceptionpublic Stack nextXMLStack()
public Stack previousXMLStack()
public List<Stack> remainingXMLStacks()
public List<Stack> spentXMLStacks()
public List<Stack> allXMLStacks()
public void setDelimiter(String delim)
String - the delimiterpublic String getDelimiter()
Copyright © 2017. All rights reserved.