- java.lang.Object
-
- com.oracle.tools.packager.RelativeFileSet
-
- Direct Known Subclasses:
RelativeFileSet
public class RelativeFileSet extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelativeFileSet.Type
-
Constructor Summary
Constructors Constructor Description RelativeFileSet(RelativeFileSet copy)
RelativeFileSet(File base, Collection<File> files)
RelativeFileSet(File base, Set<File> files)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(String requiredFile)
boolean
contains(String[] requiredFiles)
void
dump()
String
getArch()
File
getBaseDirectory()
Set<String>
getIncludedFiles()
String
getMode()
String
getOs()
RelativeFileSet.Type
getType()
void
setArch(String arch)
void
setMode(String mode)
void
setOs(String os)
void
setType(RelativeFileSet.Type type)
String
toString()
Returns a string representation of the object.void
upshift()
-
-
-
Constructor Detail
-
RelativeFileSet
public RelativeFileSet(RelativeFileSet copy)
-
RelativeFileSet
public RelativeFileSet(File base, Collection<File> files)
-
-
Method Detail
-
upshift
public void upshift()
-
contains
public boolean contains(String[] requiredFiles)
-
contains
public boolean contains(String requiredFile)
-
getBaseDirectory
public File getBaseDirectory()
-
dump
public void dump()
-
getType
public RelativeFileSet.Type getType()
-
setType
public void setType(RelativeFileSet.Type type)
-
getMode
public String getMode()
-
setMode
public void setMode(String mode)
-
getOs
public String getOs()
-
setOs
public void setOs(String os)
-
getArch
public String getArch()
-
setArch
public void setArch(String arch)
-
toString
public String toString()
Description copied from class:Object
Returns a string representation of the object. In general, thetoString
method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.The
toString
method for classObject
returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@
', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:getClass().getName() + '@' + Integer.toHexString(hashCode())
-
-