public abstract class StructuredFileSettings extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Deserializer> |
deserializers |
protected File |
file |
protected InputStream |
inputStream |
protected Reader |
reader |
Constructor and Description |
---|
StructuredFileSettings() |
Modifier and Type | Method and Description |
---|---|
void |
addDeserializer(Deserializer deserializer) |
void |
addDeserializer(int index,
Deserializer deserializer) |
protected void |
checkLocked() |
Charset |
getCharset() |
abstract List<? extends Column> |
getColumns() |
List<Deserializer> |
getDeserializers() |
File |
getFile() |
InputStream |
getInputStream() |
Reader |
getReader() |
abstract List<Pair<String,String>> |
getSettings() |
boolean |
isComplete() |
boolean |
isLocked() |
abstract void |
loadSettings(Element settings) |
void |
setFile(File file) |
void |
setInputStream(InputStream inputStream) |
void |
setLocked() |
void |
setReader(Reader reader) |
protected final List<Deserializer> deserializers
protected File file
protected InputStream inputStream
protected Reader reader
public Charset getCharset()
public List<Deserializer> getDeserializers()
public Reader getReader()
public InputStream getInputStream()
public void setReader(Reader reader)
public void addDeserializer(Deserializer deserializer)
deserializer
- the deserializer to setpublic void addDeserializer(int index, Deserializer deserializer)
deserializer
- the deserializer to setprotected final void checkLocked()
public File getFile()
public void setFile(File file)
file
- the file to setpublic final boolean isLocked()
public void setInputStream(InputStream inputStream)
public final void setLocked()
public boolean isComplete()
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.