GenericDataFile {R.filesets}R Documentation

The abstract GenericDataFile class

Description

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.

Usage

GenericDataFile(filename=NULL, path=NULL, mustExist=TRUE, ...)

Arguments

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.

Fields and Methods

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

Filename convention

The filename of an GenericDataFile is structured as follows:

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

An object of this class is typically part of an GenericDataFileSet.


[Package R.filesets version 0.5.3 Index]