Class GenericNameValueRecordingFrame
java.lang.Object
zombie.core.skinnedmodel.animation.debug.GenericNameValueRecordingFrame
- Direct Known Subclasses:
AnimationVariableRecordingFrame
,GameProfileRecording
,GenericNameWeightRecordingFrame
public abstract class GenericNameValueRecordingFrame
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
delim
protected java.lang.String[]
m_columnNames
protected java.lang.String
m_fileKey
protected int
m_frameNumber
protected boolean
m_headerDirty
protected java.lang.StringBuilder
m_lineBuffer
protected java.util.HashMap
m_nameIndices
protected java.io.PrintStream
m_outHeader
protected java.io.PrintStream
m_outValues
protected java.lang.String
m_valuesFileNameSuffix
-
Constructor Summary
Constructors Constructor Description GenericNameValueRecordingFrame(java.lang.String string, java.lang.String string2)
-
Method Summary
Modifier and Type Method Description protected int
addColumnInternal(java.lang.String string)
static java.lang.StringBuilder
appendCell(java.lang.StringBuilder stringBuilder)
static java.lang.StringBuilder
appendCell(java.lang.StringBuilder stringBuilder, float float1)
static java.lang.StringBuilder
appendCell(java.lang.StringBuilder stringBuilder, int int1)
static java.lang.StringBuilder
appendCell(java.lang.StringBuilder stringBuilder, long long1)
static java.lang.StringBuilder
appendCell(java.lang.StringBuilder stringBuilder, java.lang.String string)
static java.lang.StringBuilder
appendCellQuot(java.lang.StringBuilder stringBuilder, java.lang.String string)
void
close()
void
closeAndDiscard()
int
getColumnCount()
java.lang.String
getNameAt(int int1)
int
getOrCreateColumn(java.lang.String string)
abstract java.lang.String
getValueAt(int int1)
protected abstract void
onColumnAdded()
protected void
openHeader(boolean boolean1)
protected void
openValuesFile(boolean boolean1)
abstract void
reset()
void
setFrameNumber(int int1)
protected void
writeData()
protected void
writeData(java.lang.StringBuilder stringBuilder)
protected void
writeHeader()
protected void
writeHeader(java.lang.StringBuilder stringBuilder)
void
writeLine()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
m_columnNames
protected java.lang.String[] m_columnNames -
m_nameIndices
protected final java.util.HashMap m_nameIndices -
m_headerDirty
protected boolean m_headerDirty -
m_fileKey
protected final java.lang.String m_fileKey -
m_outHeader
protected java.io.PrintStream m_outHeader -
m_outValues
protected java.io.PrintStream m_outValues -
m_frameNumber
protected int m_frameNumber -
delim
protected static final java.lang.String delim- See Also:
- Constant Field Values
-
m_valuesFileNameSuffix
protected final java.lang.String m_valuesFileNameSuffix -
m_lineBuffer
protected final java.lang.StringBuilder m_lineBuffer
-
-
Constructor Details
-
GenericNameValueRecordingFrame
public GenericNameValueRecordingFrame(java.lang.String string, java.lang.String string2)
-
-
Method Details
-
addColumnInternal
protected int addColumnInternal(java.lang.String string) -
getOrCreateColumn
public int getOrCreateColumn(java.lang.String string) -
setFrameNumber
public void setFrameNumber(int int1) -
getColumnCount
public int getColumnCount() -
getNameAt
public java.lang.String getNameAt(int int1) -
getValueAt
public abstract java.lang.String getValueAt(int int1) -
openHeader
protected void openHeader(boolean boolean1) -
openValuesFile
protected void openValuesFile(boolean boolean1) -
writeLine
public void writeLine() -
close
public void close() -
closeAndDiscard
public void closeAndDiscard() -
onColumnAdded
protected abstract void onColumnAdded() -
reset
public abstract void reset() -
writeHeader
protected void writeHeader() -
writeHeader
protected void writeHeader(java.lang.StringBuilder stringBuilder) -
writeData
protected void writeData() -
writeData
protected void writeData(java.lang.StringBuilder stringBuilder) -
appendCell
public static java.lang.StringBuilder appendCell(java.lang.StringBuilder stringBuilder) -
appendCell
public static java.lang.StringBuilder appendCell(java.lang.StringBuilder stringBuilder, java.lang.String string) -
appendCell
public static java.lang.StringBuilder appendCell(java.lang.StringBuilder stringBuilder, float float1) -
appendCell
public static java.lang.StringBuilder appendCell(java.lang.StringBuilder stringBuilder, int int1) -
appendCell
public static java.lang.StringBuilder appendCell(java.lang.StringBuilder stringBuilder, long long1) -
appendCellQuot
public static java.lang.StringBuilder appendCellQuot(java.lang.StringBuilder stringBuilder, java.lang.String string)
-