edu.cs.ai.kreator.datamodels
Class OtherFile

java.lang.Object
  extended by java.io.File
      extended by edu.cs.ai.kreator.datamodels.AbstractKreatorFile
          extended by edu.cs.ai.kreator.datamodels.DataFile
              extended by edu.cs.ai.kreator.datamodels.OtherFile
All Implemented Interfaces:
StainedListener, java.io.Serializable, java.lang.Comparable<java.io.File>

public class OtherFile
extends DataFile

An OtherFile object is any other KReatorfile not explicitly captured by the other children of DataFile.

Author:
Matthias Thimm
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.cs.ai.kreator.datamodels.AbstractKreatorFile
fileContent, LOG
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
OtherFile(java.io.File file)
          Constructs a OtherFile object with a given project and file.
 
Method Summary
 
Methods inherited from class edu.cs.ai.kreator.datamodels.DataFile
getAllSupportedFileExtensions, load, save
 
Methods inherited from class edu.cs.ai.kreator.datamodels.AbstractKreatorFile
addKReatorFileListener, fireModelChanged, getFileContent, removeKReatorFileListener, setFileContent, stainedStatusChanged, viewsAreStained
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OtherFile

public OtherFile(java.io.File file)
          throws java.io.FileNotFoundException,
                 java.io.IOException
Constructs a OtherFile object with a given project and file.

Parameters:
file -
Throws:
java.io.FileNotFoundException
java.io.IOException