|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.petertribble.pkgview.ContentsFileDetail
public class ContentsFileDetail
Field Summary | |
---|---|
protected java.lang.String |
cksum
|
protected java.lang.String |
filename
|
protected java.lang.String |
ftype
|
protected java.lang.String |
group
|
protected java.lang.String |
mode
|
protected java.lang.String |
modtime
|
protected java.lang.String |
owner
|
protected java.lang.String |
pclass
|
protected java.util.List<java.lang.String> |
pkglist
|
protected java.lang.String |
size
|
protected java.lang.String |
target
|
Constructor Summary | |
---|---|
ContentsFileDetail(java.lang.String s)
Create a set of details from a line of the contents file. |
Method Summary | |
---|---|
java.lang.String |
getDescriptiveType()
Return the type of this entry as a descriptive String. |
java.lang.String |
getName()
Return the name of the file associated with this entry. |
java.util.List<java.lang.String> |
getPackageNames()
Return the list of names of packages that own this entry. |
java.util.List<SolarisPackage> |
getPackages()
Return the list of packages that own this entry. |
boolean |
isDirectory()
Return whether this entry is a directory, which means that it would be of type d or x (x denotes a directory that is exclusive to a package) |
boolean |
isLink()
Return whether this entry is a link to another file. |
boolean |
isRegular()
Return whether this entry is a regular file, which means that it would be of type f or v or e. |
boolean |
isShared()
Return whether this entry is shared amongst packages, determined by whether the number of packages that own this entry is one or more than one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String filename
protected java.lang.String ftype
protected java.lang.String pclass
protected java.lang.String owner
protected java.lang.String group
protected java.lang.String mode
protected java.lang.String size
protected java.lang.String cksum
protected java.lang.String modtime
protected java.util.List<java.lang.String> pkglist
protected java.lang.String target
Constructor Detail |
---|
public ContentsFileDetail(java.lang.String s)
Method Detail |
---|
public java.lang.String getName()
public java.util.List<java.lang.String> getPackageNames()
public java.util.List<SolarisPackage> getPackages()
public boolean isShared()
public boolean isDirectory()
public boolean isRegular()
public boolean isLink()
public java.lang.String getDescriptiveType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |