Package gaiasky.util

Class CatalogManager

java.lang.Object
gaiasky.util.CatalogManager
All Implemented Interfaces:
IObserver

public class CatalogManager
extends java.lang.Object
implements IObserver
  • Method Summary

    Modifier and Type Method Description
    boolean contains​(java.lang.String dsName)  
    CatalogInfo get​(java.lang.String dsName)
    Gets the CatalogInfo with the given name, if any
    java.util.Collection<CatalogInfo> getCatalogInfos()  
    java.util.Set<java.lang.String> getDatasetNames()  
    static void initialize()  
    static CatalogManager instance()  
    void notify​(Events event, java.lang.Object... data)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • initialize

      public static void initialize()
    • instance

      public static CatalogManager instance()
    • getCatalogInfos

      public java.util.Collection<CatalogInfo> getCatalogInfos()
    • contains

      public boolean contains​(java.lang.String dsName)
    • get

      public CatalogInfo get​(java.lang.String dsName)
      Gets the CatalogInfo with the given name, if any
      Parameters:
      dsName - The name of the dataset
      Returns:
      The CatalogInfo object, null if it does not exist
    • getDatasetNames

      public java.util.Set<java.lang.String> getDatasetNames()
    • notify

      public void notify​(Events event, java.lang.Object... data)
      Specified by:
      notify in interface IObserver