public class JDependency
extends org.mdi.app.swing.AbstractMDIApplication
JarDependencies
class.
File libJarFile = <The reference Jar File> (for example a library on which we don't want to be dependant on)JarDependencies
lib = new JarDependencies(); depend.setFile(libJarFile); File jarFile = <The Jar File on which we want to see the dependencies>JarDependencies
depend = new JarDependencies(); depend.setFile(jarFile); // looking for dependencies // isDepending is true if jarFile depends on libJarFile boolean isDepending = depend.isDependingOn(lib); // printing dependenciesDependencyPrinter
.printDependencies(depend, lib);
File libJarFile = <The reference Jar File> (for example a library on which we don't want to be dependant on)JarDependencies
lib = new JarDependencies(); depend.setFile(libJarFile); File jarFile = <The Jar File on which we want to see the dependencies>JarDependencies
depend = new JarDependencies(); depend.setFile(jarFile); // isDepending is true if jarFile depends on the package org.my. in libJarFile, or any // of its sub-packages boolean isDepending = depend.isDependingOn(lib, "org.my.package", false); // isDepending2 is true if jarFile depends on the package org.my. in libJarFile strictly (not any // of its sub-packages) boolean isDepending2 = depend.isDependingOn(lib, "org.my.package", true);
Constructor and Description |
---|
JDependency(java.lang.String dir)
The main class.
|
Modifier and Type | Method and Description |
---|---|
void |
checkDependencies()
Open the dialog for checking the dependencies between one set of jar of packages and others.
|
void |
exportAsYed() |
protected void |
initConfiguration(java.lang.String dir)
Creates the Configuration.
|
static void |
main(java.lang.String[] args) |
void |
refresh() |
void |
showDependencies()
Open the dialog for showing the dependencies between several jars or packages.
|
void |
showDependencyTree() |
void |
showStructure() |
acceptRemoveTab, addApplicationListener, addTab, addTab, applyDialog, cancelDialog, closeAllTabs, closeAllTabs, closeCurrentTab, closeCurrentTab, closeOtherTabs, createThreadQueue, dispose, endAction, executeAction, executeAction, fireTabChanged, fireTabRemoved, getApplicationListeners, getApplicationWindow, getCompatibleTabs, getComponent, getComponent, getDefaultDialogOpenType, getDialogHelper, getFileProperties, getMenuBar, getMenuFactory, getMessageArea, getPluginsEDTSupport, getProperties, getRealNameForTab, getSelectedComponent, getSelectedProperties, getStatusBar, getTabbedPane, getTabCount, getTabDisplayedName, getTabList, getTabPropertiesList, getTitle, getToolBarPanel, getUnusedName, hasClosableTab, hasSelectedTab, hasTab, isChangeTabsAllowed, isClosableTab, isDialogOpened, isModified, manageTabs, noTimeMessages, noWriteMessages, preparePanels, preparePanels, preparePanels, preparePanels, preparePanels, removeApplicationListener, removeSelectedTab, removeTab, renameTab, setChangeTabsAllowed, setCloseBackground, setCloseIcon, setCloseIcon, setComponenAt, setCurrentTabModified, setDefaultCloseIcon, setDefaultDialogOpenType, setDialogHelper, setMenuFactory, setMessageArea, setModified, setSelectedTab, setSize, setTitle, setVisible, showActionException, showDialog, showDialog, showDialog, showDialog, showDialog, showDialog, showMessageDialog, startTime, stopTime, updateUI
addAdditionalPluginType, addCustomAction, addPluginDirectory, applyCommandLineArguments, disposeApplication, executeCustomAction, executeCustomAction, getAdditionalPluginTypes, getAllowedPluginTypes, getApplicationDesc, getCommandLineArguments, getCommandLineHandler, getConfigurationManager, getErrorLogger, getPlugin, getPluginForName, getPlugins, getPluginsManager, getPluginsMap, getThreadQueue, getTime, hasPlugin, hasPluginsDirectories, hasPluginsDirectoryList, hasSinglePluginsDirectory, initConfiguration, initConfiguration, initConfiguration, initConfiguration, initConfiguration, initProcessFromRegister, isDefaultBlockingActions, loadResources, pluginsActionPerformed, registerPlugins, serializeConfiguration, setAllowedPluginTypes, setCommandLineArguments, setCommandLineArguments, setCommandLineArguments, setCommandLineHandler, setConfiguration, setDefaultBlockingActions, setErrorLogger, setPluginsConfiguration, setPluginsConfiguration, setPluginsConfigurationFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTab, addTab, addTab, addTab
showMessageDialog, showMessageDialog, updateMenus
disposeApplication, executeAction, executeAction, getAdditionalPluginTypes, getAllowedPluginTypes, getApplicationDesc, getApplicationID, getCommandLineArguments, getConfigurationManager, getErrorLogger, getPlugin, getPluginForName, getPlugins, getPluginsManager, getPluginsMap, getStartDirectory, getTime, hasPlugin, isDefaultBlockingActions, setDefaultBlockingActions
public JDependency(java.lang.String dir)
dir
- the starting directory to use for the file choosers.protected void initConfiguration(java.lang.String dir)
dir
- the directorypublic void refresh()
public void checkDependencies()
DependencyChecker
public void showDependencies()
DependencyDiagram
public void exportAsYed()
public void showStructure()
public void showDependencyTree()
public static void main(java.lang.String[] args)
Copyright © 2016-2023 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence