com.crocus.examples.csv
Class CSVFileImpl
java.lang.Object
java.io.File
com.crocus.examples.csv.CSVFileImpl
- All Implemented Interfaces:
- CSVFile, Serializable, Comparable<File>
public class CSVFileImpl
- extends File
- implements CSVFile
- See Also:
- Serialized Form
| Methods inherited from class java.io.File |
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
CSVFileImpl
public CSVFileImpl(String fileName,
char deliminator)
throws FileNotFoundException
- Get the File from the path mentioned in String
- Parameters:
fileName - String
- Throws:
FileNotFoundException
CSVFileImpl
public CSVFileImpl(String fileName,
char deliminator,
AbstractCSVRecordManager csvRecordManager)
throws FileNotFoundException
- Get the File from the path mentioned in String
- Parameters:
fileName - StringcsvRecordManager - CSVRecordManager
- Throws:
FileNotFoundException
openFile
public void openFile()
throws FileNotFoundException
- Specified by:
openFile in interface CSVFile
- Throws:
FileNotFoundException
write
public void write()
throws IOException
- Specified by:
write in interface CSVFile
- Throws:
IOException
isLocked
public boolean isLocked()
- Check the lock for the file
- Returns:
- boolean
getCSVRecordManager
public AbstractCSVRecordManager getCSVRecordManager()
- Specified by:
getCSVRecordManager in interface CSVFile
getDeliminator
public char getDeliminator()
- Specified by:
getDeliminator in interface CSVFile