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, setPatternclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptpublic void write(java.lang.String ref,
java.io.OutputStream os,
FwkColumnAccessInterface[] cols)
throws FwkException
write in interface FwkWriteColumnsToStreamInterfaceos - 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.FwkExceptionprotected static void writeInt(java.io.OutputStream file,
int v)
throws java.io.IOException
java.io.IOExceptionprotected static void writeFloat(java.io.OutputStream file,
float v)
throws java.io.IOException
java.io.IOExceptionpublic boolean accept(java.io.File f)
accept in interface FwkFileFilterInterfaceaccept in class FwkFileFilterf - The file to be checked.FwkFileFilter.getExtension(java.io.File),
FileFilter#acceptspublic java.lang.String getDescription()
getDescription in interface FwkFileFilterInterfacegetDescription in class FwkFileFiltersetDescription,
setExtensionListInDescription,
isExtensionListInDescription,
FileFilter.getDescription()