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)JarDependencieslib = new JarDependencies(); depend.setFile(libJarFile); File jarFile = <The Jar File on which we want to see the dependencies>JarDependenciesdepend = 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)JarDependencieslib = new JarDependencies(); depend.setFile(libJarFile); File jarFile = <The Jar File on which we want to see the dependencies>JarDependenciesdepend = 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);
appListeners, message, mfactory, nameToTab, properties, statusBar, tab, tablist, tabToNameadditionalPluginTypes, allowedPluginTypes, appDesc, argsMap, commandLineHandler, conf, confmanager, customActions, errorLogger, plugins, pluginsConfiguration, pluginsDefInFile, pluginsDir, pluginsManager, pluginsMap, preventOpening, queue, time| 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, fireTabBeforeClosing, 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, updateUIaddAdditionalPluginType, addCustomAction, addPluginDirectory, applyCommandLineArguments, disposeApplication, executeCustomAction, executeCustomAction, getAdditionalPluginTypes, getAllowedPluginTypes, getApplicationDesc, getCommandLineArguments, getCommandLineHandler, getConfigurationManager, getErrorLogger, getPlugin, getPluginForName, getPlugins, getPluginsManager, getPluginsMap, getStartDirectory, getThreadQueue, getTime, hasPlugin, hasPluginsDirectories, hasPluginsDirectoryList, hasSinglePluginsDirectory, initConfiguration, initConfiguration, initConfiguration, initConfiguration, initConfiguration, initProcessFromRegister, isDefaultBlockingActions, loadResources, pluginsActionPerformed, preventOpeningApplication, registerPlugins, serializeConfiguration, setAllowedPluginTypes, setCommandLineArguments, setCommandLineArguments, setCommandLineArguments, setCommandLineHandler, setConfiguration, setDefaultBlockingActions, setErrorLogger, setPluginsConfiguration, setPluginsConfiguration, setPluginsConfigurationFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTab, addTab, addTab, addTabshowMessageDialog, showMessageDialog, updateMenusdisposeApplication, executeAction, executeAction, getAdditionalPluginTypes, getAllowedPluginTypes, getApplicationDesc, getApplicationID, getCommandLineArguments, getConfigurationManager, getErrorLogger, getPlugin, getPluginForName, getPlugins, getPluginsManager, getPluginsMap, getStartDirectory, getTime, hasPlugin, isDefaultBlockingActions, setDefaultBlockingActionspublic 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()
DependencyCheckerpublic void showDependencies()
DependencyDiagrampublic 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