Class FilesystemTreeNode
- java.lang.Object
-
- org.eclipse.epsilon.eunit.dt.diff.files.FilesystemTreeNode
-
- All Implemented Interfaces:
org.eclipse.compare.IModificationDate
,org.eclipse.compare.IStreamContentAccessor
,org.eclipse.compare.ITypedElement
,org.eclipse.compare.structuremergeviewer.IStructureComparator
public class FilesystemTreeNode extends java.lang.Object implements org.eclipse.compare.structuremergeviewer.IStructureComparator, org.eclipse.compare.IModificationDate, org.eclipse.compare.ITypedElement, org.eclipse.compare.IStreamContentAccessor
Node for the difference engine which wraps a regular file.
-
-
Constructor Summary
Constructors Constructor Description FilesystemTreeNode(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.Object[]
getChildren()
java.io.InputStream
getContents()
org.eclipse.swt.graphics.Image
getImage()
long
getModificationDate()
java.lang.String
getName()
java.lang.String
getType()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.eclipse.compare.ITypedElement
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceorg.eclipse.compare.ITypedElement
-
getModificationDate
public long getModificationDate()
- Specified by:
getModificationDate
in interfaceorg.eclipse.compare.IModificationDate
-
getChildren
public java.lang.Object[] getChildren()
- Specified by:
getChildren
in interfaceorg.eclipse.compare.structuremergeviewer.IStructureComparator
-
getImage
public org.eclipse.swt.graphics.Image getImage()
- Specified by:
getImage
in interfaceorg.eclipse.compare.ITypedElement
-
getContents
public java.io.InputStream getContents()
- Specified by:
getContents
in interfaceorg.eclipse.compare.IStreamContentAccessor
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interfaceorg.eclipse.compare.structuremergeviewer.IStructureComparator
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-