public abstract class MaskFile extends Object implements IInput
Modifier and Type | Field and Description |
---|---|
protected IConversion |
conversion |
Constructor and Description |
---|
MaskFile(String filename,
IConversion conversion) |
Modifier and Type | Method and Description |
---|---|
String[] |
getList()
Parses the text file.
|
abstract String |
next()
Gets new line from file.
|
Object |
next(List<String> columns,
String[] row)
Gets a new input value.
|
static String[] |
parseLines(String file1) |
static String |
stream2String(InputStream is) |
protected final IConversion conversion
public MaskFile(String filename, IConversion conversion)
public String[] getList() throws Exception
Exception
- any typepublic abstract String next() throws Exception
Exception
- any typepublic Object next(List<String> columns, String[] row) throws Exception
IInput
public static String stream2String(InputStream is) throws IOException
IOException
Copyright © 2021. All rights reserved.