public class UBHFileWriter extends FwkFileFilter implements FwkWriteColumnsToStreamInterface
version
Constructor and Description |
---|
UBHFileWriter()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Whether the given file is accepted by this filter.
|
java.lang.String |
getDescription()
The description of this filter.
|
void |
write(java.lang.String ref,
java.io.OutputStream os,
FwkColumnAccessInterface[] cols)
Write columns to stream.
|
protected static void |
writeFloat(java.io.OutputStream file,
float v) |
protected static void |
writeInt(java.io.OutputStream file,
int v) |
accept, addExtension, getExtension, getVersion, isExtensionListInDescription, setDescription, setExtensionListInDescription, setPattern
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept
public void write(java.lang.String ref, java.io.OutputStream os, FwkColumnAccessInterface[] cols) throws FwkException
write
in interface FwkWriteColumnsToStreamInterface
os
- The output stream to that the columns should be written.ref
- The reference for input stream. This could be the file specification.an
- exception when ever a problem occurs.FwkException
protected static void writeInt(java.io.OutputStream file, int v) throws java.io.IOException
java.io.IOException
protected static void writeFloat(java.io.OutputStream file, float v) throws java.io.IOException
java.io.IOException
public boolean accept(java.io.File f)
accept
in interface FwkFileFilterInterface
accept
in class FwkFileFilter
f
- The file to be checked.FwkFileFilter.getExtension(java.io.File)
,
FileFilter#accepts
public java.lang.String getDescription()
getDescription
in interface FwkFileFilterInterface
getDescription
in class FwkFileFilter
setDescription
,
setExtensionListInDescription
,
isExtensionListInDescription
,
FileFilter.getDescription()