kcl.waterloo.xml
Class FileWrapper
- java.lang.Object
-
- kcl.waterloo.xml.FileWrapper
-
public class FileWrapper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description FileWrapper(java.io.File file, java.lang.Object contents)FileWrapper(java.io.File file, java.lang.Object contents, java.util.ArrayList<java.io.File> supplements)FileWrapper(java.io.File file, java.lang.Object contents, java.io.File[] supplements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.ObjectgetContents()java.util.ArrayList<java.lang.String>getErrorLog()java.io.FilegetFile()java.util.ArrayList<java.io.File>getSupplements()booleanhasContents()booleanhasSupplements()voidsetContents(java.lang.Object contents)voidsetErrorLog(java.util.ArrayList<java.lang.String> errorLog)
-
-
-
Constructor Detail
-
FileWrapper
public FileWrapper(java.io.File file, java.lang.Object contents, java.util.ArrayList<java.io.File> supplements)
-
FileWrapper
public FileWrapper(java.io.File file, java.lang.Object contents, java.io.File[] supplements)
-
FileWrapper
public FileWrapper(java.io.File file, java.lang.Object contents)
-
-
Method Detail
-
getFile
public java.io.File getFile()
- Returns:
- the file
-
getContents
public java.lang.Object getContents()
- Returns:
- the contents
-
getSupplements
public java.util.ArrayList<java.io.File> getSupplements()
- Returns:
- the supplements
-
setContents
public void setContents(java.lang.Object contents)
- Parameters:
contents- the contents to set
-
hasContents
public boolean hasContents()
-
hasSupplements
public boolean hasSupplements()
-
getErrorLog
public java.util.ArrayList<java.lang.String> getErrorLog()
- Returns:
- the errorLog
-
setErrorLog
public void setErrorLog(java.util.ArrayList<java.lang.String> errorLog)
- Parameters:
errorLog- the errorLog to set
-
-
DMelt 3.0 © DataMelt by jWork.ORG