|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cesta.types.MappedFile
public class MappedFile
Simple class which holds mapped files. Mapped file has it's from and to File object. It is used to tell transformations on which files they should work and where to write the result.
Field Summary | |
---|---|
protected java.io.File |
from
Input file (read) |
protected java.io.File |
to
Output file (write) |
Constructor Summary | |
---|---|
MappedFile()
Default constructor without parameters |
|
MappedFile(java.io.File from,
java.io.File to)
Default constructor |
|
MappedFile(java.lang.String from,
java.lang.String to)
Overloaded constructor with filenames instead of Files |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.io.File |
getFrom()
|
java.io.File |
getTo()
|
int |
hashCode()
|
void |
setFrom(java.io.File from)
|
void |
setTo(java.io.File to)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.io.File from
protected java.io.File to
Constructor Detail |
---|
public MappedFile()
public MappedFile(java.lang.String from, java.lang.String to)
from
- Input filenameto
- Output filenamepublic MappedFile(java.io.File from, java.io.File to)
from
- Input fileto
- Output fileMethod Detail |
---|
public java.io.File getFrom()
public void setFrom(java.io.File from)
from
- the input filepublic java.io.File getTo()
public void setTo(java.io.File to)
to
- output filepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |