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.IStreamContentAccessorNode 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 booleanequals(java.lang.Object other)java.lang.Object[]getChildren()java.io.InputStreamgetContents()org.eclipse.swt.graphics.ImagegetImage()longgetModificationDate()java.lang.StringgetName()java.lang.StringgetType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.eclipse.compare.ITypedElement
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceorg.eclipse.compare.ITypedElement
-
getModificationDate
public long getModificationDate()
- Specified by:
getModificationDatein interfaceorg.eclipse.compare.IModificationDate
-
getChildren
public java.lang.Object[] getChildren()
- Specified by:
getChildrenin interfaceorg.eclipse.compare.structuremergeviewer.IStructureComparator
-
getImage
public org.eclipse.swt.graphics.Image getImage()
- Specified by:
getImagein interfaceorg.eclipse.compare.ITypedElement
-
getContents
public java.io.InputStream getContents()
- Specified by:
getContentsin interfaceorg.eclipse.compare.IStreamContentAccessor
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equalsin interfaceorg.eclipse.compare.structuremergeviewer.IStructureComparator- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-