| Constructor and Description |
|---|
PackageFolder(URI location,
String packageName)
Creates a new transfer object for a package
|
PackageFolder(URI location,
String packageName,
ClassLoader classLoader)
Creates a new transfer object for a package with a
ClassLoader for type resolution while
parsing its children. |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the field 'classLoader'
|
URI |
getLocation()
Returns the folder location
URI of the package |
String |
getPackageName()
Returns the package's name
|
void |
setClassLoader(ClassLoader classLoader)
Sets the class loader for type resolving while parsing children
|
void |
setLocation(URI location)
Sets the location of the package (last package element)
|
void |
setPackageName(String packageName)
Sets the package's name
|
String |
toString() |
public PackageFolder(URI location, String packageName)
location - URI to the package folderpackageName - package namepublic PackageFolder(URI location, String packageName, ClassLoader classLoader)
ClassLoader for type resolution while
parsing its children.location - URI to the package folderpackageName - package nameclassLoader - for type resolution while parsing the package childrenpublic URI getLocation()
URI of the packageURI of the packagepublic void setLocation(URI location)
location - new value of locationpublic String getPackageName()
public void setPackageName(String packageName)
packageName - new value of packageNamepublic ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
classLoader - new value of classLoaderCopyright © 2018 DevonFw. All rights reserved.