Package com.day.util.diff
Class FileDocumentSource
- java.lang.Object
-
- com.day.util.diff.FileDocumentSource
-
- All Implemented Interfaces:
DocumentSource
public class FileDocumentSource extends java.lang.Object implements DocumentSource
FileDocumentSource
...
-
-
Field Summary
-
Fields inherited from interface com.day.util.diff.DocumentSource
CVS_ID
-
-
Constructor Summary
Constructors Constructor Description FileDocumentSource(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
java.lang.String
getLabel()
Returns a label of the source.java.lang.String
getLocation()
Returns some location information of the source.
-
-
-
Method Detail
-
getFile
public java.io.File getFile()
-
getLabel
public java.lang.String getLabel()
Description copied from interface:DocumentSource
Returns a label of the source.- Specified by:
getLabel
in interfaceDocumentSource
- Returns:
- a label of the source.
-
getLocation
public java.lang.String getLocation()
Description copied from interface:DocumentSource
Returns some location information of the source.- Specified by:
getLocation
in interfaceDocumentSource
- Returns:
- some location information.
-
-