Package org.apache.uima.tools.cpm
Class CpmPanel
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.apache.uima.tools.cpm.CpmPanel
- All Implemented Interfaces:
ActionListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible,TabClosedListener,FileSelectorListener,TransportControlListener
public class CpmPanel
extends JPanel
implements ActionListener, FileSelectorListener, TabClosedListener, TransportControlListener
The Class CpmPanel.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classMetaDataPanel used for Collection Reader & AE selection and configuration.(package private) classThe Class StatusCallbackListenerImpl.Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JButtonThe add ae button.private JButtonThe add consumer button.private JFileChooserThe ae file chooser.private JPanelThe ae main panel.private VectorThe ae specifiers.private JTabbedPaneWithCloseIconsThe ae tabbed pane.private TitledBorderThe ae titled border.private CasInitializerDescriptionThe cas initializer desc.private FileSelectorThe cas initializer file selector.private longThe cas initializer last file sync timestamp.private CpmPanel.ResetableMetaDataPanelThe cas initializer panel.private TitledBorderThe cas initializer titled border.private JMenuItemThe clear all menu item.private CollectionReaderDescriptionThe collection reader desc.private longThe collection reader last file sync timestamp.private CpmPanel.ResetableMetaDataPanelThe collection reader panel.private TitledBorderThe collection reader titled border.private JFileChooserThe consumer file chooser.private JPanelThe consumers panel.private VectorThe consumer specifiers.private JTabbedPaneWithCloseIconsThe consumer tabbed pane.private TitledBorderThe consumer titled border.private CpeDescriptionThe current cpe desc.private final ResourceManagerThe default resource manager.private intThe elapsed time.private FileThe file chooser root dir.static final StringThe Constant HELP_MESSAGE.private booleanThe indeterminate progress pause.private longThe last file sync user prompt time.private JSplitPaneThe main split pane.private CollectionProcessingEngineThe m CPE.private JButtonThe move ae left button.private JButtonThe move ae right button.private JButtonThe move consumer left button.private JButtonThe move consumer right button.private booleanThe m paused.private booleanThe m shutting down.private JMenuItemThe open cpe desc menu item.private JFileChooserThe open save file chooser.private TimerThe performance query timer.private PreferencesStores user preferences.private static final StringThe Constant PREFS_CPE_DESCRIPTOR_FILE.private static final StringThe Constant PREFS_SAVE_USING_IMPORTS.private JProgressBarThe progress bar.private TimerThe progress timer.private FileSelectorThe reader file selector.private JSplitPaneThe reader initializer split pane.private JMenuItemThe refresh menu item.private JMenuItemThe save cpe desc menu item.private JCheckBoxMenuItemThe save using import menu item.private booleanThe save using imports.private booleanThe selected components changed.private static final longThe Constant serialVersionUID.private AbstractButtonThe start button.private JLabelThe status label.private AbstractButtonThe stop button.private TransportControlPanelThe transport control panel.private JMenuItemThe view cas initializer panel menu item.Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidAdds the AE.private booleanaddAE(CpeCasProcessor cpeCasProc) Adds the AE.private voidaddConsumer(String consumerSpecifierFile) Adds the consumer.private booleanaddConsumer(CpeCasProcessor cpeCasProc) Adds the consumer.voidCheck for out of sync files.private voidclearAll()Resets the GUI to an empty state.private voidMarks all fields as not dirty.booleanAsk user to confirm exist.voidControl paused.voidControl resumed.voidControl started.voidControl stopped.private CpeDescriptionCreates the empty cpe description.Creates JMenuItems that should be added to the File menu.private voidcreateParameterOverrides(CasProcessorConfigurationParameterSettings aSettings, MetaDataPanel aPanel) Called by createCpeDescription to add configuration parameter overrides to the CpeDescription being constructed, based on the user's changes in the GUI.Creates JMenuItems that should be added to the View menu.voiddisplayError(String aErrorString) Displays an error message to the user.voiddisplayError(Throwable aThrowable) Displays an error message to the user.private voidDisplay progress.private voiddoSaveCpeDescriptor(File aFile) Do save cpe descriptor.booleanfileSelected(JComponent source, String fileString) File selected.private FrameGets the parent frame.private voidInitialize the file choosers.private booleanisCasConsumerSpecifier(ResourceSpecifier specifier) Checks if is cas consumer specifier.private booleanisDirty()Returns whether the GUI is dirty; that is, whether configuration settings have been modified since the last save.private StringmakeUniqueCasProcessorName(String baseName) Make unique cas processor name.voidOn completion.private voidopenCpeDescriptor(File aFile) Open cpe descriptor.private booleanPopulate cas initializer panel.private booleanPopulate collection reader panel.voidPrints the stats.private voidRead preferences.voidRefresh out of sync files.private voidRemoves the all A es and consumers.private voidReset screen.private voidPrompt user for file to save CPE Descriptor to, and do the save.private voidsetCasInitializerPanelVisible(boolean visible) Sets the cas initializer panel visible.private voidsetFrameEnabled(boolean onOff) Called to lock the GUI while processing is occurring.private voidsetSaveUsingImports(boolean b) Sets the save using imports.private voidStart processing.voidtabClosed(JTabbedPaneWithCloseIcons source, int tabPos) Tab closed.private voidUpdates the configuration parameter settings in this.currentCpeDesc to match the current state of the GUI.private voidupdateImport(CpeComponentDescriptor descriptor, File cpeDescSaveFile) Update import.private voidupdateImports(File cpeDescSaveFile) Update imports.private FileUtility method for convertion a URL to a File name, taking care of proper escaping.Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDThe Constant serialVersionUID.- See Also:
-
HELP_MESSAGE
The Constant HELP_MESSAGE.- See Also:
-
PREFS_CPE_DESCRIPTOR_FILE
The Constant PREFS_CPE_DESCRIPTOR_FILE.- See Also:
-
PREFS_SAVE_USING_IMPORTS
The Constant PREFS_SAVE_USING_IMPORTS.- See Also:
-
openCpeDescMenuItem
The open cpe desc menu item. -
saveCpeDescMenuItem
The save cpe desc menu item. -
refreshMenuItem
The refresh menu item. -
clearAllMenuItem
The clear all menu item. -
mainSplitPane
The main split pane. -
readerInitializerSplitPane
The reader initializer split pane. -
collectionReaderPanel
The collection reader panel. -
collectionReaderTitledBorder
The collection reader titled border. -
casInitializerPanel
The cas initializer panel. -
casInitializerTitledBorder
The cas initializer titled border. -
readerFileSelector
The reader file selector. -
casInitializerFileSelector
The cas initializer file selector. -
aeMainPanel
The ae main panel. -
aeTabbedPane
The ae tabbed pane. -
moveAeRightButton
The move ae right button. -
moveAeLeftButton
The move ae left button. -
addAeButton
The add ae button. -
aeTitledBorder
The ae titled border. -
consumersPanel
The consumers panel. -
consumerTitledBorder
The consumer titled border. -
addConsumerButton
The add consumer button. -
moveConsumerRightButton
The move consumer right button. -
moveConsumerLeftButton
The move consumer left button. -
consumerTabbedPane
The consumer tabbed pane. -
aeSpecifiers
The ae specifiers. -
consumerSpecifiers
The consumer specifiers. -
progressBar
The progress bar. -
transportControlPanel
The transport control panel. -
startButton
The start button. -
stopButton
The stop button. -
statusLabel
The status label. -
progressTimer
The progress timer. -
elapsedTime
private int elapsedTimeThe elapsed time. -
performanceQueryTimer
The performance query timer. -
collectionReaderDesc
The collection reader desc. -
casInitializerDesc
The cas initializer desc. -
mCPE
The m CPE. -
indeterminateProgressPause
private boolean indeterminateProgressPauseThe indeterminate progress pause. -
aeFileChooser
The ae file chooser. -
consumerFileChooser
The consumer file chooser. -
openSaveFileChooser
The open save file chooser. -
fileChooserRootDir
The file chooser root dir. -
collectionReaderLastFileSyncTimestamp
private long collectionReaderLastFileSyncTimestampThe collection reader last file sync timestamp. -
casInitializerLastFileSyncTimestamp
private long casInitializerLastFileSyncTimestampThe cas initializer last file sync timestamp. -
lastFileSyncUserPromptTime
private long lastFileSyncUserPromptTimeThe last file sync user prompt time. -
prefs
Stores user preferences. -
mShuttingDown
private boolean mShuttingDownThe m shutting down. -
mPaused
private boolean mPausedThe m paused. -
selectedComponentsChanged
private boolean selectedComponentsChangedThe selected components changed. -
viewCasInitializerPanelMenuItem
The view cas initializer panel menu item. -
currentCpeDesc
The current cpe desc. -
defaultResourceManager
The default resource manager. -
saveUsingImports
private boolean saveUsingImportsThe save using imports. -
saveUsingImportMenuItem
The save using import menu item.
-
-
Constructor Details
-
CpmPanel
public CpmPanel()Instantiates a new cpm panel.
-
-
Method Details
-
initFileChoosers
private void initFileChoosers()Initialize the file choosers. This is called initially from the constructor but can be called again to reset the file choosers to their default state. -
getParentFrame
Gets the parent frame.- Returns:
- the parent frame
-
createFileMenuItems
Creates JMenuItems that should be added to the File menu.- Returns:
- a List of JMenuItems
-
createViewMenuItems
Creates JMenuItems that should be added to the View menu.- Returns:
- a List of JMenuItems
-
setCasInitializerPanelVisible
private void setCasInitializerPanelVisible(boolean visible) Sets the cas initializer panel visible.- Parameters:
visible- the new cas initializer panel visible
-
readPreferences
private void readPreferences()Read preferences. -
setSaveUsingImports
private void setSaveUsingImports(boolean b) Sets the save using imports.- Parameters:
b- the new save using imports
-
startProcessing
private void startProcessing()Start processing. -
updateCpeDescriptionParameterOverrides
Updates the configuration parameter settings in this.currentCpeDesc to match the current state of the GUI.- Throws:
Exception- the exception
-
createParameterOverrides
private void createParameterOverrides(CasProcessorConfigurationParameterSettings aSettings, MetaDataPanel aPanel) throws CpeDescriptorException Called by createCpeDescription to add configuration parameter overrides to the CpeDescription being constructed, based on the user's changes in the GUI.- Parameters:
aSettings- the CasProcessorConfigurationParameterSettings element that will be modifiedaPanel- the GUI panel representing settings for the CAS Processor- Throws:
CpeDescriptorException- the cpe descriptor exception
-
clearDirty
private void clearDirty()Marks all fields as not dirty. To be called when CPE descriptor is opened or saved. -
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
clearAll
private void clearAll()Resets the GUI to an empty state. -
createEmptyCpeDescription
Creates the empty cpe description.- Returns:
- the cpe description
-
saveCpeDescriptor
private void saveCpeDescriptor()Prompt user for file to save CPE Descriptor to, and do the save. -
doSaveCpeDescriptor
Do save cpe descriptor.- Parameters:
aFile- the a file- Throws:
Exception- the exception
-
updateImports
Update imports.- Parameters:
cpeDescSaveFile- the cpe desc save file- Throws:
Exception- the exception
-
updateImport
Update import.- Parameters:
descriptor- the descriptorcpeDescSaveFile- the cpe desc save file- Throws:
Exception- the exception
-
urlToFile
Utility method for convertion a URL to a File name, taking care of proper escaping.- Parameters:
url- a URL- Returns:
- File corresponding to that URL
- Throws:
URISyntaxException- the URI syntax exception
-
displayProgress
private void displayProgress()Display progress. -
confirmExit
public boolean confirmExit()Ask user to confirm exist. Return true if they confirm, false if not.- Returns:
- true, if successful
-
checkForOutOfSyncFiles
public void checkForOutOfSyncFiles()Check for out of sync files. -
refreshOutOfSyncFiles
public void refreshOutOfSyncFiles()Refresh out of sync files. -
displayError
Displays an error message to the user.- Parameters:
aErrorString- error message to display
-
displayError
Displays an error message to the user.- Parameters:
aThrowable- Throwable whose message is to be displayed.
-
populateCollectionReaderPanel
private boolean populateCollectionReaderPanel(CpeCollectionReaderIterator cpeColRdr) throws InvalidXMLException, IOException, ResourceConfigurationException Populate collection reader panel.- Parameters:
cpeColRdr- the cpe col rdr- Returns:
- true, if successful
- Throws:
InvalidXMLException- the invalid XML exceptionIOException- Signals that an I/O exception has occurred.ResourceConfigurationException- the resource configuration exception
-
populateCasInitializerPanel
private boolean populateCasInitializerPanel(CpeCollectionReaderCasInitializer cpeCasIni) throws InvalidXMLException, IOException, ResourceConfigurationException Populate cas initializer panel.- Parameters:
cpeCasIni- the cpe cas ini- Returns:
- true, if successful
- Throws:
InvalidXMLException- the invalid XML exceptionIOException- Signals that an I/O exception has occurred.ResourceConfigurationException- the resource configuration exception
-
addAE
private void addAE(String aeSpecifierFile) throws CpeDescriptorException, InvalidXMLException, IOException, ResourceConfigurationException Adds the AE.- Parameters:
aeSpecifierFile- the ae specifier file- Throws:
CpeDescriptorException- the cpe descriptor exceptionInvalidXMLException- the invalid XML exceptionIOException- Signals that an I/O exception has occurred.ResourceConfigurationException- the resource configuration exception
-
addAE
private boolean addAE(CpeCasProcessor cpeCasProc) throws CpeDescriptorException, InvalidXMLException, IOException, ResourceConfigurationException Adds the AE.- Parameters:
cpeCasProc- the cpe cas proc- Returns:
- true, if successful
- Throws:
CpeDescriptorException- the cpe descriptor exceptionInvalidXMLException- the invalid XML exceptionIOException- Signals that an I/O exception has occurred.ResourceConfigurationException- the resource configuration exception
-
addConsumer
private void addConsumer(String consumerSpecifierFile) throws CpeDescriptorException, InvalidXMLException, IOException, ResourceConfigurationException Adds the consumer.- Parameters:
consumerSpecifierFile- the consumer specifier file- Throws:
CpeDescriptorException- the cpe descriptor exceptionInvalidXMLException- the invalid XML exceptionIOException- Signals that an I/O exception has occurred.ResourceConfigurationException- the resource configuration exception
-
addConsumer
private boolean addConsumer(CpeCasProcessor cpeCasProc) throws CpeDescriptorException, InvalidXMLException, IOException, ResourceConfigurationException Adds the consumer.- Parameters:
cpeCasProc- the cpe cas proc- Returns:
- true, if successful
- Throws:
CpeDescriptorException- the cpe descriptor exceptionInvalidXMLException- the invalid XML exceptionIOException- Signals that an I/O exception has occurred.ResourceConfigurationException- the resource configuration exception
-
makeUniqueCasProcessorName
Make unique cas processor name.- Parameters:
baseName- the base name- Returns:
- the string
-
removeAllAEsAndConsumers
private void removeAllAEsAndConsumers()Removes the all A es and consumers. -
fileSelected
Description copied from interface:FileSelectorListenerFile selected.- Specified by:
fileSelectedin interfaceFileSelectorListener- Parameters:
source- the sourcefileString- the file string- Returns:
- true, if successful
-
tabClosed
Description copied from interface:TabClosedListenerTab closed.- Specified by:
tabClosedin interfaceTabClosedListener- Parameters:
source- the JTabbedPaneWithCloseIcons control sending this eventtabPos- position of the tab that was closed
-
controlStarted
public void controlStarted()Description copied from interface:TransportControlListenerControl started.- Specified by:
controlStartedin interfaceTransportControlListener
-
controlPaused
public void controlPaused()Description copied from interface:TransportControlListenerControl paused.- Specified by:
controlPausedin interfaceTransportControlListener
-
controlResumed
public void controlResumed()Description copied from interface:TransportControlListenerControl resumed.- Specified by:
controlResumedin interfaceTransportControlListener
-
controlStopped
public void controlStopped()Description copied from interface:TransportControlListenerControl stopped.- Specified by:
controlStoppedin interfaceTransportControlListener
-
resetScreen
private void resetScreen()Reset screen. -
setFrameEnabled
private void setFrameEnabled(boolean onOff) Called to lock the GUI while processing is occurring. We don't actually disable the JFrame, because we don't want to disable the stop/pause buttons. Instead we disable all of the controls that the user shouldn't mess with while processing is occurring.- Parameters:
onOff- true to enable, false to disable
-
onCompletion
public void onCompletion()On completion. -
printStats
public void printStats()Prints the stats. -
isDirty
private boolean isDirty()Returns whether the GUI is dirty; that is, whether configuration settings have been modified since the last save.- Returns:
- whether the GUI is dirty
-
openCpeDescriptor
private void openCpeDescriptor(File aFile) throws InvalidXMLException, IOException, CpeDescriptorException, ResourceConfigurationException Open cpe descriptor.- Parameters:
aFile- the a file- Throws:
InvalidXMLException- the invalid XML exceptionIOException- Signals that an I/O exception has occurred.CpeDescriptorException- the cpe descriptor exceptionResourceConfigurationException- the resource configuration exception
-
isCasConsumerSpecifier
Checks if is cas consumer specifier.- Parameters:
specifier- the specifier- Returns:
- true, if is cas consumer specifier
-