|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dawb.common.util.io.IFileUtils
public class IFileUtils
| Constructor Summary | |
|---|---|
IFileUtils()
|
|
| Method Summary | |
|---|---|
static org.eclipse.core.resources.IContainer |
getContainer(java.lang.String path,
java.lang.String projectDefault,
java.lang.String containerDefault)
Attempts to find or create a new folder at the given path |
static java.lang.String |
getPathWithoutProject(java.lang.String path)
|
static org.eclipse.core.resources.IFile |
getUniqueIFile(org.eclipse.core.resources.IContainer cont,
java.lang.String rootName,
java.lang.String ext)
|
static org.eclipse.core.resources.IFile |
getUniqueIFile(org.eclipse.core.resources.IFolder edna,
java.lang.String rootName,
java.lang.String ext)
Simply gets a unqiue file in the folder. |
static org.eclipse.core.resources.IFile |
getUniqueIFile(org.eclipse.core.resources.IProject edna,
java.lang.String rootName,
java.lang.String ext)
Simply gets a unqiue file in the folder. |
static void |
setReadOnly(org.eclipse.core.resources.IContainer parent,
boolean isReadOnly)
Recursively change |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IFileUtils()
| Method Detail |
|---|
public static void setReadOnly(org.eclipse.core.resources.IContainer parent,
boolean isReadOnly)
throws org.eclipse.core.runtime.CoreException
parent - isReadOnly -
org.eclipse.core.runtime.CoreException
public static org.eclipse.core.resources.IFile getUniqueIFile(org.eclipse.core.resources.IContainer cont,
java.lang.String rootName,
java.lang.String ext)
cont - rootName - ext - - without the "." in front
public static org.eclipse.core.resources.IFile getUniqueIFile(org.eclipse.core.resources.IFolder edna,
java.lang.String rootName,
java.lang.String ext)
edna - rootName - ext -
public static org.eclipse.core.resources.IFile getUniqueIFile(org.eclipse.core.resources.IProject edna,
java.lang.String rootName,
java.lang.String ext)
edna - rootName - ext -
public static java.lang.String getPathWithoutProject(java.lang.String path)
public static org.eclipse.core.resources.IContainer getContainer(java.lang.String path,
java.lang.String projectDefault,
java.lang.String containerDefault)
throws java.lang.Exception
path -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||