public class SubUnitFile
extends java.lang.Object
Constructor and Description |
---|
SubUnitFile(java.io.File fileOutsideWorkspace) |
SubUnitFile(org.eclipse.core.resources.IFile fileInWorkspace) |
Modifier and Type | Method and Description |
---|---|
boolean |
addChild(SubUnitFile child) |
boolean |
equals(java.lang.Object obj) |
java.util.List |
getChildren() |
java.io.InputStream |
getFileContent() |
java.io.InputStream |
getFileContentFromStorage()
ATTENTION: this method is added to support closure merge because method getFileContent() always
return content of file in workspace.
|
java.lang.String |
getFileExtension() |
org.eclipse.core.resources.IFile |
getFileInWorkspace() |
java.io.File |
getFileOutsideWorkspace() |
org.eclipse.core.runtime.IPath |
getFilePath() |
static org.eclipse.core.resources.IFile[] |
getFilesInWorkspace(SubUnitFile[] files) |
SubUnitFile |
getParent() |
java.util.Properties |
getProperties() |
int |
hashCode() |
void |
setFileStorage(IFileStorage storage) |
java.lang.String |
toString() |
static SubUnitFile[] |
toSubUnitFiles(org.eclipse.core.resources.IFile[] files) |
public SubUnitFile(org.eclipse.core.resources.IFile fileInWorkspace)
public SubUnitFile(java.io.File fileOutsideWorkspace)
public org.eclipse.core.resources.IFile getFileInWorkspace()
public java.io.File getFileOutsideWorkspace()
public static SubUnitFile[] toSubUnitFiles(org.eclipse.core.resources.IFile[] files)
public static org.eclipse.core.resources.IFile[] getFilesInWorkspace(SubUnitFile[] files)
public 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
public org.eclipse.core.runtime.IPath getFilePath()
public java.lang.String getFileExtension()
public void setFileStorage(IFileStorage storage)
public java.io.InputStream getFileContent()
public java.io.InputStream getFileContentFromStorage()
public java.util.Properties getProperties()
public boolean addChild(SubUnitFile child)
public java.util.List getChildren()
public SubUnitFile getParent()