Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
M
N
O
P
R
S
T
U
V
W
A
AbstractDependencyNode
- Class in
org.xnap.commons.pkg
AbstractDependencyNode(Object)
- Constructor for class org.xnap.commons.pkg.
AbstractDependencyNode
AbstractToken
- Class in
org.xnap.commons.pkg
AbstractToken(AbstractToken[], String)
- Constructor for class org.xnap.commons.pkg.
AbstractToken
AbstractToken(String)
- Constructor for class org.xnap.commons.pkg.
AbstractToken
AbstractToken()
- Constructor for class org.xnap.commons.pkg.
AbstractToken
ACTION_INSTALL
- Static variable in class org.xnap.commons.pkg.
PackageInfo
add(DependencyNode)
- Method in class org.xnap.commons.pkg.
AndDependencyNode
add(PackageInfo)
- Method in class org.xnap.commons.pkg.
DependencyGraph
add(DependencyNode)
- Method in class org.xnap.commons.pkg.
OrDependencyNode
add(PackageInfo)
- Method in class org.xnap.commons.pkg.
PackageManager
Adds a package.
AndDependencyNode
- Class in
org.xnap.commons.pkg
AndDependencyNode(String, LinkedList)
- Constructor for class org.xnap.commons.pkg.
AndDependencyNode
AndDependencyNode(String)
- Constructor for class org.xnap.commons.pkg.
AndDependencyNode
B
buildDependencies(DependencyParser)
- Method in class org.xnap.commons.pkg.
DependencyGraph
C
checkDepends(boolean)
- Method in class org.xnap.commons.pkg.
AbstractDependencyNode
checkDepends(boolean)
- Method in class org.xnap.commons.pkg.
AndDependencyNode
checkDepends(boolean)
- Method in class org.xnap.commons.pkg.
ConflictsDependencyNode
checkDepends(boolean)
- Method in class org.xnap.commons.pkg.
OrDependencyNode
checkDepends(boolean)
- Method in class org.xnap.commons.pkg.
PackageDependencyNode
checkDepends(boolean)
- Method in class org.xnap.commons.pkg.
UnsatisfiedDependencyNode
children()
- Method in class org.xnap.commons.pkg.
AndDependencyNode
children()
- Method in class org.xnap.commons.pkg.
ConflictsDependencyNode
children()
- Method in interface org.xnap.commons.pkg.
DependencyNode
children()
- Method in class org.xnap.commons.pkg.
OrDependencyNode
children()
- Method in class org.xnap.commons.pkg.
PackageDependencyNode
children()
- Method in class org.xnap.commons.pkg.
UnsatisfiedDependencyNode
CommaToken
- Class in
org.xnap.commons.pkg
CommaToken(AbstractToken[])
- Constructor for class org.xnap.commons.pkg.
CommaToken
COMPARE_MODES
- Static variable in class org.xnap.commons.pkg.
PackageToken
compareMode
- Variable in class org.xnap.commons.pkg.
PackageToken
compareTo(Object)
- Method in class org.xnap.commons.pkg.
AbstractToken
compareTo(Object)
- Method in class org.xnap.commons.pkg.
PackageInfo
Lower versions come first.
compareToVersion(PackageInfo)
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns a value > 0 if the version of this package is higher than the version of info.
compareToVersion(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
ConflictsDependencyNode
- Class in
org.xnap.commons.pkg
ConflictsDependencyNode(String, DependencyNode)
- Constructor for class org.xnap.commons.pkg.
ConflictsDependencyNode
ContainerPackageSection
- Class in
org.xnap.commons.gui.pkg
ContainerPackageSection(String)
- Constructor for class org.xnap.commons.gui.pkg.
ContainerPackageSection
containsProperties(Properties)
- Method in class org.xnap.commons.pkg.
PackageInfo
CONTROL_FILENAME
- Static variable in class org.xnap.commons.pkg.
PackageBuilder
createPackageNode(DefaultMutableTreeNode, PackageInfo)
- Method in class org.xnap.commons.gui.pkg.
PackageInfoTree
createSectionNodes(String)
- Method in class org.xnap.commons.gui.pkg.
PackageInfoTree
Creates a section node and returns it.
D
DefaultDependencyParser
- Class in
org.xnap.commons.pkg
DefaultDependencyParser(String, String)
- Constructor for class org.xnap.commons.pkg.
DefaultDependencyParser
DefaultDependencyParser()
- Constructor for class org.xnap.commons.pkg.
DefaultDependencyParser
DefaultPackageSection
- Class in
org.xnap.commons.pkg
DefaultPackageSection(String, Icon)
- Constructor for class org.xnap.commons.pkg.
DefaultPackageSection
DefaultResolver
- Class in
org.xnap.commons.pkg
DefaultResolver(DependencyGraph, boolean)
- Constructor for class org.xnap.commons.pkg.
DefaultResolver
DELIMETER
- Static variable in class org.xnap.commons.pkg.
PackageInfo
DependencyGraph
- Class in
org.xnap.commons.pkg
DependencyGraph(PackageManager)
- Constructor for class org.xnap.commons.pkg.
DependencyGraph
DependencyGraph.PreorderIterator
- Class in
org.xnap.commons.pkg
DependencyGraph.PreorderIterator(DependencyNode)
- Constructor for class org.xnap.commons.pkg.
DependencyGraph.PreorderIterator
DependencyNode
- Interface in
org.xnap.commons.pkg
DependencyParser
- Interface in
org.xnap.commons.pkg
depends
- Variable in class org.xnap.commons.pkg.
CommaToken
depends
- Variable in class org.xnap.commons.pkg.
PipeToken
E
equals(Object)
- Method in class org.xnap.commons.pkg.
AbstractToken
equals(Object)
- Method in class org.xnap.commons.pkg.
PackageInfo
equalsVersion(int)
- Method in class org.xnap.commons.pkg.
PackageToken
exit(String)
- Static method in class org.xnap.commons.pkg.
PackageBuilder
G
getAction()
- Method in class org.xnap.commons.pkg.
PackageInfo
See
PackageInfo.setAction(String)
for possible return values.
getActionStatus()
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns "ok".
getAuthors()
- Method in class org.xnap.commons.pkg.
PackageInfo
getButtonPanel()
- Method in class org.xnap.commons.gui.pkg.
PackageInfoPanel
getClassPath()
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns an empty array if no dependencies are defined.
getConflicts()
- Method in class org.xnap.commons.pkg.
PackageDependencyNode
getConflicts(PackageInfo)
- Method in class org.xnap.commons.pkg.
PackageManager
getControlPath()
- Method in class org.xnap.commons.pkg.
PackageInfo
getDefaultSources()
- Method in class org.xnap.commons.pkg.
PackageManager
Returns a list of urls.
getDependencies(PackageInfo)
- Method in class org.xnap.commons.pkg.
PackageManager
getDepends()
- Method in class org.xnap.commons.pkg.
PackageDependencyNode
getDepends()
- Method in class org.xnap.commons.pkg.
PackageInfo
getDescription()
- Method in class org.xnap.commons.pkg.
PackageInfo
getDownloadFilename()
- Method in class org.xnap.commons.pkg.
PackageInfo
getDownloadURLs()
- Method in class org.xnap.commons.pkg.
PackageInfo
getFile(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns a file that is relative to this packages location.
getFilename()
- Method in class org.xnap.commons.pkg.
PackageInfo
getIcon()
- Method in class org.xnap.commons.gui.pkg.
ContainerPackageSection
getIcon()
- Method in class org.xnap.commons.pkg.
DefaultPackageSection
getIcon()
- Method in interface org.xnap.commons.pkg.
PackageSection
Returns a 16x16 icon.
getID()
- Method in class org.xnap.commons.pkg.
AbstractDependencyNode
getID()
- Method in interface org.xnap.commons.pkg.
DependencyNode
getInstall()
- Method in class org.xnap.commons.pkg.
PackageCommit
getLongDescription()
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns a long description of the package's functionality that may contain html tags.
getName()
- Method in class org.xnap.commons.gui.pkg.
ContainerPackageSection
getName()
- Method in class org.xnap.commons.pkg.
DefaultPackageSection
getName()
- Method in class org.xnap.commons.pkg.
PackageInfo
getName()
- Method in interface org.xnap.commons.pkg.
PackageSection
Returns the name of the section.
getPackage()
- Method in class org.xnap.commons.pkg.
PackageDependencyNode
getPackage()
- Method in class org.xnap.commons.pkg.
PackageInfo
getPackage(String)
- Method in class org.xnap.commons.pkg.
PackageManager
Returns a package by name.
getPackageCount()
- Method in class org.xnap.commons.pkg.
PackageManager
Returns the number of packages.
getPackageInfo()
- Method in class org.xnap.commons.gui.pkg.
ContainerPackageSection
getPackageStatus()
- Method in class org.xnap.commons.pkg.
PackageInfo
getProperties()
- Method in class org.xnap.commons.pkg.
PackageInfo
getProperty(String, String)
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns a property.
getProperty(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns a property.
getPropertyList(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns a property that is a list of strings.
getProviders(String)
- Method in class org.xnap.commons.pkg.
PackageManager
Returns an array of packages that provide packageName.
getProvides()
- Method in class org.xnap.commons.pkg.
PackageInfo
getReleaseNr()
- Static method in class org.xnap.commons.pkg.
PackageBuilder
getReleaseNr()
- Method in class org.xnap.commons.pkg.
PackageInfo
getRemove()
- Method in class org.xnap.commons.pkg.
PackageCommit
getRequired()
- Method in class org.xnap.commons.pkg.
DefaultResolver
Traverses the graph and returns all required packages.
getRequiredUninstalled()
- Method in class org.xnap.commons.pkg.
DefaultResolver
Traverses the graph and returns all required packages that are not installed.
getRoot()
- Method in class org.xnap.commons.pkg.
DependencyGraph
getSection()
- Method in class org.xnap.commons.pkg.
PackageInfo
getSelectedInfo()
- Method in class org.xnap.commons.gui.pkg.
PackageInfoTree
getSize()
- Method in class org.xnap.commons.pkg.
PackageInfo
getStatus()
- Method in class org.xnap.commons.pkg.
PackageInfo
getStatus(int)
- Method in class org.xnap.commons.pkg.
PackageInfo
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean)
- Method in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
getVersion()
- Method in class org.xnap.commons.pkg.
PackageInfo
H
hashCode()
- Method in class org.xnap.commons.pkg.
AbstractToken
hasNext()
- Method in class org.xnap.commons.pkg.
DependencyGraph.PreorderIterator
I
ICON_FOLDER
- Static variable in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
ICON_FOLDER_OPEN
- Static variable in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
ICON_INSTALLED
- Static variable in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
ICON_NEW
- Static variable in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
ICON_NOT_INSTALLED
- Static variable in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
ICON_UPDATE_AVAILABLE
- Static variable in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
isAvailable()
- Method in class org.xnap.commons.pkg.
PackageInfo
isBase()
- Method in class org.xnap.commons.pkg.
PackageInfo
isCore()
- Method in class org.xnap.commons.pkg.
PackageInfo
isEmpty()
- Method in class org.xnap.commons.pkg.
PackageCommit
Returns true, if the commit would not modify any packages.
isInstalled()
- Method in class org.xnap.commons.pkg.
PackageInfo
isNew()
- Method in class org.xnap.commons.pkg.
PackageInfo
isPatch()
- Method in class org.xnap.commons.pkg.
PackageInfo
isPlugin()
- Method in class org.xnap.commons.pkg.
PackageInfo
isRequired()
- Method in class org.xnap.commons.pkg.
AbstractDependencyNode
isRequired()
- Method in interface org.xnap.commons.pkg.
DependencyNode
isUpdateAvailable()
- Method in class org.xnap.commons.pkg.
PackageInfo
isValid()
- Method in class org.xnap.commons.pkg.
PackageInfo
M
main(String[])
- Static method in class org.xnap.commons.pkg.
PackageBuilder
markAllUnavailable()
- Method in class org.xnap.commons.pkg.
PackageManager
Marks all packages that are not installed as unavailable.
N
name
- Variable in class org.xnap.commons.pkg.
PackageToken
next()
- Method in class org.xnap.commons.pkg.
DependencyGraph.PreorderIterator
O
OrDependencyNode
- Class in
org.xnap.commons.pkg
OrDependencyNode(String, LinkedList)
- Constructor for class org.xnap.commons.pkg.
OrDependencyNode
OrDependencyNode(String)
- Constructor for class org.xnap.commons.pkg.
OrDependencyNode
org.xnap.commons.gui.pkg
- package org.xnap.commons.gui.pkg
org.xnap.commons.pkg
- package org.xnap.commons.pkg
Provides interfaces and classes for the package management.
P
PACKAGE_STATUS_INSTALLED
- Static variable in class org.xnap.commons.pkg.
PackageInfo
PackageBuilder
- Class in
org.xnap.commons.pkg
Starts the main application.
PackageBuilder()
- Constructor for class org.xnap.commons.pkg.
PackageBuilder
PackageCommit
- Class in
org.xnap.commons.pkg
Defines lists of packages that need to be installed or removed.
PackageCommit(PackageManager)
- Constructor for class org.xnap.commons.pkg.
PackageCommit
PackageDependencyNode
- Class in
org.xnap.commons.pkg
PackageDependencyNode(PackageInfo)
- Constructor for class org.xnap.commons.pkg.
PackageDependencyNode
PackageInfo
- Class in
org.xnap.commons.pkg
This class serves as a plugin information record.
PackageInfo(Properties)
- Constructor for class org.xnap.commons.pkg.
PackageInfo
Constructs a new plugin information record from
p
.
PackageInfo(String)
- Constructor for class org.xnap.commons.pkg.
PackageInfo
PackageInfo()
- Constructor for class org.xnap.commons.pkg.
PackageInfo
PackageInfoCellRenderer
- Class in
org.xnap.commons.gui.pkg
This class provides a list renderer for
PackageInfo
objects.
PackageInfoCellRenderer()
- Constructor for class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
PackageInfoPanel
- Class in
org.xnap.commons.gui.pkg
PackageInfoPanel()
- Constructor for class org.xnap.commons.gui.pkg.
PackageInfoPanel
PackageInfoReader
- Class in
org.xnap.commons.pkg
PackageInfoReader()
- Constructor for class org.xnap.commons.pkg.
PackageInfoReader
PackageInfoTree
- Class in
org.xnap.commons.gui.pkg
PackageInfoTree(String)
- Constructor for class org.xnap.commons.gui.pkg.
PackageInfoTree
PackageInfoTree()
- Constructor for class org.xnap.commons.gui.pkg.
PackageInfoTree
PackageInfoWriter
- Class in
org.xnap.commons.pkg
PackageInfoWriter()
- Constructor for class org.xnap.commons.pkg.
PackageInfoWriter
PackageInstallerListener
- Interface in
org.xnap.commons.pkg
PackageManager
- Class in
org.xnap.commons.pkg
PackageManager()
- Constructor for class org.xnap.commons.pkg.
PackageManager
packages()
- Method in class org.xnap.commons.pkg.
PackageManager
Returns an iterator over all
PackageInfo
objects.
PackageSection
- Interface in
org.xnap.commons.pkg
Defines the requirements for a package section.
PackageToken
- Class in
org.xnap.commons.pkg
PackageToken(String, String, String)
- Constructor for class org.xnap.commons.pkg.
PackageToken
parse(PackageInfo, String)
- Method in class org.xnap.commons.pkg.
DefaultDependencyParser
parse(String)
- Method in class org.xnap.commons.pkg.
DefaultDependencyParser
parseConflicts(PackageInfo)
- Method in class org.xnap.commons.pkg.
DefaultDependencyParser
parseConflicts(PackageInfo)
- Method in interface org.xnap.commons.pkg.
DependencyParser
parseDepends(PackageInfo)
- Method in class org.xnap.commons.pkg.
DefaultDependencyParser
parseDepends(PackageInfo)
- Method in interface org.xnap.commons.pkg.
DependencyParser
ParseException
- Exception in
org.xnap.commons.pkg
Exception that is thrown if the format of the package file is invalid.
ParseException(String)
- Constructor for exception org.xnap.commons.pkg.
ParseException
ParseException()
- Constructor for exception org.xnap.commons.pkg.
ParseException
pathChanged(TreePath)
- Method in class org.xnap.commons.gui.pkg.
PackageInfoTree
PipeToken
- Class in
org.xnap.commons.pkg
PipeToken(AbstractToken[])
- Constructor for class org.xnap.commons.pkg.
PipeToken
preorderIterator()
- Method in class org.xnap.commons.pkg.
DependencyGraph
print(Properties)
- Static method in class org.xnap.commons.pkg.
PackageBuilder
printControl(String, String)
- Static method in class org.xnap.commons.pkg.
PackageBuilder
printProperties(String, String[], String[])
- Static method in class org.xnap.commons.pkg.
PackageBuilder
put(Properties, String[], String[])
- Static method in class org.xnap.commons.pkg.
PackageBuilder
putAll(Properties)
- Method in class org.xnap.commons.pkg.
PackageInfo
R
read(File, Properties)
- Method in class org.xnap.commons.pkg.
PackageManager
Reads package information from a control file.
read(File)
- Method in class org.xnap.commons.pkg.
PackageManager
read(String, Properties)
- Method in class org.xnap.commons.pkg.
PackageManager
Reads package information from a url.
read(InputStream, Properties)
- Method in class org.xnap.commons.pkg.
PackageManager
Reads package information from a stream.
readNext(BufferedReader)
- Static method in class org.xnap.commons.pkg.
PackageInfoReader
reload()
- Method in class org.xnap.commons.gui.pkg.
PackageInfoTree
remove()
- Method in class org.xnap.commons.pkg.
DependencyGraph.PreorderIterator
remove(PackageInfo)
- Method in class org.xnap.commons.pkg.
PackageManager
removeUnavailable()
- Method in class org.xnap.commons.pkg.
PackageManager
Removes all packages that are marked as unavailable.
require(boolean)
- Method in class org.xnap.commons.pkg.
AbstractDependencyNode
require(boolean)
- Method in interface org.xnap.commons.pkg.
DependencyNode
Marks the node as required.
resolve()
- Method in class org.xnap.commons.pkg.
DefaultResolver
Resolver
- Interface in
org.xnap.commons.pkg
S
selectedNodeChanged()
- Method in class org.xnap.commons.gui.pkg.
PackageInfoTree
setAction(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
Action can be "deinstall", "hold", "install", "purge"
setAvailable(boolean)
- Method in class org.xnap.commons.pkg.
PackageInfo
setClassPath(String[])
- Method in class org.xnap.commons.pkg.
PackageInfo
setConflicts(DependencyNode)
- Method in class org.xnap.commons.pkg.
PackageDependencyNode
setControlPath(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
setDepends(DependencyNode)
- Method in class org.xnap.commons.pkg.
PackageDependencyNode
setDescription(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
setDownloadFilename(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
setIconFromPackage(PackageInfo)
- Method in class org.xnap.commons.gui.pkg.
PackageInfoCellRenderer
setInfo(PackageInfo)
- Method in class org.xnap.commons.gui.pkg.
PackageInfoPanel
Updates the package info panel.
setInstalled(boolean)
- Method in class org.xnap.commons.pkg.
PackageInfo
setNew(boolean)
- Method in class org.xnap.commons.pkg.
PackageInfo
setPackage(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
setPackageInfo(PackageInfo)
- Method in class org.xnap.commons.gui.pkg.
ContainerPackageSection
setRequired(boolean)
- Method in class org.xnap.commons.pkg.
AbstractDependencyNode
setRequired(boolean)
- Method in interface org.xnap.commons.pkg.
DependencyNode
Marks the node as required.
setSection(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
setStatus(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
setStatus(String, String, String)
- Method in class org.xnap.commons.pkg.
PackageInfo
setTotalMaximum(int)
- Method in interface org.xnap.commons.pkg.
PackageInstallerListener
setTotalMinimum(int)
- Method in interface org.xnap.commons.pkg.
PackageInstallerListener
setTotalPercent(double)
- Method in interface org.xnap.commons.pkg.
PackageInstallerListener
setTotalValue(int)
- Method in interface org.xnap.commons.pkg.
PackageInstallerListener
setUpdateAvailable(boolean)
- Method in class org.xnap.commons.gui.pkg.
ContainerPackageSection
setVersion(String)
- Method in class org.xnap.commons.pkg.
PackageInfo
STATUS_INSTALLED
- Static variable in class org.xnap.commons.pkg.
PackageInfo
STATUS_NOT_INSTALLED
- Static variable in class org.xnap.commons.pkg.
PackageInfo
T
tailSet(String)
- Method in class org.xnap.commons.pkg.
PackageManager
token
- Variable in class org.xnap.commons.pkg.
AbstractToken
toString()
- Method in class org.xnap.commons.pkg.
AbstractDependencyNode
toString()
- Method in class org.xnap.commons.pkg.
AbstractToken
toString()
- Method in class org.xnap.commons.pkg.
AndDependencyNode
toString()
- Method in class org.xnap.commons.pkg.
ConflictsDependencyNode
toString()
- Method in class org.xnap.commons.pkg.
DefaultPackageSection
toString()
- Method in class org.xnap.commons.pkg.
OrDependencyNode
toString()
- Method in class org.xnap.commons.pkg.
PackageInfo
Returns the value of
getName()
.
U
UnsatisfiedDependenciesException
- Exception in
org.xnap.commons.pkg
Exception that is thrown if a dependency is not satisfied.
UnsatisfiedDependenciesException(String)
- Constructor for exception org.xnap.commons.pkg.
UnsatisfiedDependenciesException
UnsatisfiedDependenciesException()
- Constructor for exception org.xnap.commons.pkg.
UnsatisfiedDependenciesException
UnsatisfiedDependencyNode
- Class in
org.xnap.commons.pkg
UnsatisfiedDependencyNode(String)
- Constructor for class org.xnap.commons.pkg.
UnsatisfiedDependencyNode
updatePackages(Iterator)
- Method in class org.xnap.commons.gui.pkg.
PackageInfoTree
V
version
- Variable in class org.xnap.commons.pkg.
PackageToken
W
write(BufferedWriter, Properties)
- Static method in class org.xnap.commons.pkg.
PackageInfoWriter
write(File, Properties)
- Method in class org.xnap.commons.pkg.
PackageManager
A
B
C
D
E
G
H
I
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.