fr.paris5.shaman.insight.content
Class ImportableResources
java.lang.Object
|
+--fr.paris5.shaman.insight.content.ImportableResources
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ImportedResources, LegendResources
- public class ImportableResources
- extends java.lang.Object
- implements java.io.Serializable
Generic container for a set of resource paths (represented as
Strings.
- Version:
- $Id: ImportableResources.java,v 1.1 2002/07/04 13:36:22 caillette Exp $
- Author:
- Laurent Caillette
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
resourcePaths
private final java.util.HashSet resourcePaths
problems
private final java.util.Hashtable problems
ImportableResources
public ImportableResources()
ImportableResources
public ImportableResources(ImportableResources original)
addResourcePath
protected final void addResourcePath(java.lang.String resourcePath)
getResourcePaths
public final java.lang.String[] getResourcePaths()
setProblem
protected void setProblem(java.lang.String resourcePath,
java.lang.Throwable problem)
- Adds a Throwable representing an error which occured.
Addition is performed only if there was no previous problem
associated to the resourcePath.
- Parameters:
resourcePath
- problem
-
getResourcePathsWithProblem
public final java.lang.String[] getResourcePathsWithProblem()
getProblem
public final java.lang.Throwable getProblem(java.lang.String resourcePath)
hasProblem
public final boolean hasProblem(java.lang.String resourcePath)
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.