public class PackageSourceModel extends SourceModel
_url
Constructor and Description |
---|
PackageSourceModel() |
Modifier and Type | Method and Description |
---|---|
Node |
createNode() |
protected java.lang.String |
getContentSetKey()
Gets the key that identifies the content set for this SourceModel.
|
java.net.URL |
getDirectory() |
java.lang.String |
getExtension()
Retrieves the extension used when creating new files.
|
protected URLPath |
getSourcePath() |
java.net.URL |
getURL() |
void |
setRelativeDirectory(java.lang.String newDir) |
checkForExistingFile, generateDefaultFileName, getAllowUrlsNotInSourcePath, getBaseURL, getDefaultNameStartIndex, getDirectoryString, getFileName, getNodeType, getProject, getRelativeDirectory, isInSourcePath, setAllowUrlsNotInSourcePath, setDirectory, setFileName, setProject, setURL, updateBaseURLFromProject, verifyPath
public java.lang.String getExtension()
SourceModel
getExtension
in class SourceModel
SourceModel
.public final java.net.URL getURL()
getURL
in class SourceModel
protected java.lang.String getContentSetKey()
SourceModel
getContentSetKey
in class SourceModel
SourceModel.createNode()
,
ContentSetProvider
protected URLPath getSourcePath()
getSourcePath
in class SourceModel
public final void setRelativeDirectory(java.lang.String newDir)
setRelativeDirectory
in class SourceModel
public java.net.URL getDirectory()
getDirectory
in class SourceModel
public Node createNode()
createNode
in class SourceModel