public class BinFileStrCol
extends java.lang.Object
Constructor and Description |
---|
BinFileStrCol(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
static boolean |
existsFileDump(java.lang.String fileName)
Tests, whether the required files for this class, given with the fileName
exist and are not of null-length (like after a failed start of FilePreparer
|
int |
getMaxWordNr()
Look up in file2 what's at position n-1 and n and returns the wort_bin
from n-1 to n from file1 as Object[2] with Object[0]=String and Object[1]=Integer
|
java.lang.Integer |
getNumber(java.lang.String word)
Lineare Suche zum auffinden von Wortnummern
|
java.lang.String |
getWord(java.lang.Integer wordNr)
Look up in file2 what's at position n-1 and n and returns the wort_bin
from n-1 to n from file1 as Object[2] with Object[0]=String and Object[1]=Integer
|
java.util.List |
getWordsForNumbersSameOrder(java.util.List numbers) |
static void |
main(java.lang.String[] args) |
void |
testFiles(java.lang.String fileName) |
public int getMaxWordNr()
wordNr
- public java.lang.Integer getNumber(java.lang.String word)
word
- public java.lang.String getWord(java.lang.Integer wordNr)
wordNr
- public java.util.List getWordsForNumbersSameOrder(java.util.List numbers)
public static boolean existsFileDump(java.lang.String fileName)
fileName
- relative or absolute filename without index or data extensionspublic void testFiles(java.lang.String fileName)
public static void main(java.lang.String[] args)