GenericDataFile {R.filesets} | R Documentation |
Package: R.filesets
Class GenericDataFile
Object
~~|
~~+--
GenericDataFile
Directly known subclasses:
GenericTabularFile, TabularTextFile
public static class GenericDataFile
extends Object
A GenericDataFile is an object refering to a data file on a file system.
Note that this class is abstract and can not be instanciated, but
instead you have to use one of the subclasses or the generic
*fromFile()
method.
GenericDataFile(filename=NULL, path=NULL, mustExist=TRUE, ...)
filename |
The filename of the file. |
path |
An optional path to the file. |
mustExist |
If TRUE , an exception is thrown if the file does
not exists, otherwise not. |
... |
Not used. |
Methods:
compareChecksum | - | |
equals | - | |
fromFile | - | |
getAlias | - | |
getChecksum | - | |
getFilename | Gets the filename of the file. | |
getFileSize | - | |
getFileType | Gets the file type of a file. | |
getFullName | Gets the full name of the file. | |
getName | Gets the name of the file. | |
getPath | Gets the path (directory) of the file. | |
getPathname | Gets the pathname of the file. | |
getTags | Gets the tags of the file. | |
hasTag | - | |
hasTags | - | |
isFile | - | |
readChecksum | - | |
setAlias | - | |
validateChecksum | - | |
writeChecksum | - |
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, save
The filename of an GenericDataFile
is structured as follows:
"sample001,a,b,c.CEL"
(this follows the R convention (but not the Unix convention)"sample001,a,b,c"
"sample001"
c("a", "b", "c")
"CEL"
Henrik Bengtsson (http://www.braju.com/R/)
An object of this class is typically part of an GenericDataFileSet
.