public class CSVWire extends TextWire
| Constructor and Description |
|---|
CSVWire(net.openhft.chronicle.bytes.Bytes bytes) |
CSVWire(net.openhft.chronicle.bytes.Bytes bytes,
boolean use8bit) |
| Modifier and Type | Method and Description |
|---|---|
WireOut |
addPadding(int paddingToAdd) |
void |
append(CharSequence cs) |
void |
append(CharSequence cs,
int offset) |
net.openhft.chronicle.bytes.Bytes<?> |
bytes() |
void |
clear() |
protected net.openhft.chronicle.wire.TextWire.TextValueIn |
createValueIn() |
protected net.openhft.chronicle.wire.TextWire.TextValueOut |
createValueOut() |
static CSVWire |
from(String text) |
static CSVWire |
fromFile(String name) |
boolean |
hasMore() |
protected net.openhft.chronicle.wire.Quotes |
needsQuotes(CharSequence s) |
net.openhft.chronicle.core.values.IntValue |
newIntReference() |
net.openhft.chronicle.core.values.LongArrayValues |
newLongArrayReference() |
net.openhft.chronicle.core.values.LongValue |
newLongReference() |
void |
parseUntil(StringBuilder sb,
net.openhft.chronicle.bytes.StopCharsTester testers) |
void |
parseUntil(StringBuilder sb,
net.openhft.chronicle.bytes.StopCharTester testers) |
void |
parseWord(StringBuilder sb) |
ValueIn |
read(StringBuilder name)
Read the field if present, or empty string if not present.
|
ValueIn |
read(WireKey key)
Read the field if present which must match the WireKey.
|
Wire |
readComment(StringBuilder s) |
StringBuilder |
readField(StringBuilder sb) |
Object |
readObject() |
void |
writeObject(Object o) |
append, asText, copyTo, getValueIn, getValueOut, isReady, read, readingDocument, setReady, toString, unescape, write, write, writeComment, writingDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrawReadData, readAlignTo, readDocument, readDocument, readEventNamewriteAlignTo, writeDocument, writeEventName, writeNotReadyDocumentpublic CSVWire(net.openhft.chronicle.bytes.Bytes bytes,
boolean use8bit)
public CSVWire(net.openhft.chronicle.bytes.Bytes bytes)
public static CSVWire fromFile(String name) throws IOException
IOException@NotNull protected net.openhft.chronicle.wire.TextWire.TextValueOut createValueOut()
createValueOut in class TextWire@NotNull protected net.openhft.chronicle.wire.TextWire.TextValueIn createValueIn()
createValueIn in class TextWire@NotNull public StringBuilder readField(@NotNull StringBuilder sb)
@NotNull public ValueIn read(@NotNull WireKey key)
WireIn@NotNull public ValueIn read(@NotNull StringBuilder name)
WireIn@NotNull public Wire readComment(@NotNull StringBuilder s)
readComment in interface WireInreadComment in class TextWirepublic void clear()
@NotNull public net.openhft.chronicle.bytes.Bytes<?> bytes()
bytes in interface WireCommonbytes in class TextWirepublic boolean hasMore()
@NotNull public WireOut addPadding(int paddingToAdd)
addPadding in interface WireOutaddPadding in class TextWireprotected net.openhft.chronicle.wire.Quotes needsQuotes(@NotNull CharSequence s)
needsQuotes in class TextWire@NotNull public net.openhft.chronicle.core.values.LongValue newLongReference()
newLongReference in interface WireCommonnewLongReference in class TextWire@NotNull public net.openhft.chronicle.core.values.IntValue newIntReference()
newIntReference in interface WireCommonnewIntReference in class TextWire@NotNull public net.openhft.chronicle.core.values.LongArrayValues newLongArrayReference()
newLongArrayReference in interface WireCommonnewLongArrayReference in class TextWirepublic void parseWord(StringBuilder sb)
public void parseUntil(StringBuilder sb, net.openhft.chronicle.bytes.StopCharTester testers)
parseUntil in class TextWirepublic void parseUntil(StringBuilder sb, net.openhft.chronicle.bytes.StopCharsTester testers)
parseUntil in class TextWirepublic void append(CharSequence cs)
public void append(CharSequence cs, int offset)
public Object readObject()
readObject in class TextWirepublic void writeObject(Object o)
writeObject in class TextWireCopyright © 2015. All rights reserved.