public class SvmLightWriter extends CsvWriter
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
includeAnnotations |
(package private) Map<String,Integer> |
indexes |
(package private) Integer |
largestIndex |
append, closed, file, fileExpression, filter, header, headers, headerWritten, keys, lastHeader, lastUrlString, log, p, separator, url, urlStringconditioncontext| Constructor and Description |
|---|
SvmLightWriter() |
SvmLightWriter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIncludeAnnotations() |
protected String |
lineEscape(Serializable val) |
void |
printMapping(File file) |
void |
printMapping(OutputStream out) |
void |
setIncludeAnnotations(boolean includeAnnotations) |
void |
write(Data datum) |
void |
writeHeader(Data datum) |
createHeader, finish, getAppend, getHeaderNames, getSeparator, getUrl, init, isHeader, processMatchingData, reset, setAppend, setAttributeFilter, setHeader, setKeys, setSeparator, setUrlgetCondition, matches, process, setConditionresetStateInteger largestIndex
boolean includeAnnotations
public SvmLightWriter()
public SvmLightWriter(OutputStream out)
public void writeHeader(Data datum)
writeHeader in class CsvWriterpublic boolean isIncludeAnnotations()
public void setIncludeAnnotations(boolean includeAnnotations)
includeAnnotations - the includeAnnotations to setprotected String lineEscape(Serializable val)
public void printMapping(OutputStream out)
Copyright © 2014. All rights reserved.