|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.Artifact
com.ibm.ram.common.data.FolderArtifact
com.ibm.ram.client.RAMFolderArtifact
com.ibm.ram.client.LocalFolderArtifact
public class LocalFolderArtifact
Represents the artifact of an asset that has its contents stored locally as a folder.
| Field Summary | |
|---|---|
protected java.io.File |
fLocalFolder
|
| Fields inherited from class com.ibm.ram.common.data.Artifact |
|---|
FILE_DELIM, TYPE_FILE, TYPE_FOLDER, TYPE_URL |
| Constructor Summary | |
|---|---|
LocalFolderArtifact(java.io.File file)
|
|
| Method Summary | |
|---|---|
Artifact[] |
getChildren()
Returns all the children artifacts |
java.io.File |
getFolder()
Return the underlying File object |
boolean |
hasChildren()
Returns true if the folder has children |
| Methods inherited from class com.ibm.ram.client.RAMFolderArtifact |
|---|
addArtifact, addArtifact, computeArtifactsAsFlatList, getArtifactFullPath, getAsset, getChild, getCreationDate, getLabel, getName, getPath, getReference, getSize, removeArtifact, removeArtifact, setAsset, setChildren, setCreationDate, setLabel, setName, setPath, setReference, setSize, setType |
| Methods inherited from class com.ibm.ram.common.data.FolderArtifact |
|---|
getType |
| Methods inherited from class com.ibm.ram.common.data.Artifact |
|---|
getChecksum, getMimeType, setChecksum, setMimeType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File fLocalFolder
| Constructor Detail |
|---|
public LocalFolderArtifact(java.io.File file)
asset - A asset to the repository this asset lived in.| Method Detail |
|---|
public Artifact[] getChildren()
getChildren in class RAMFolderArtifactpublic boolean hasChildren()
hasChildren in class RAMFolderArtifactpublic java.io.File getFolder()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||