Class TdbLocations

  • All Implemented Interfaces:
    com.tietoenator.trip.jxp.internal.utils.DOMSink

    public class TdbLocations
    extends TdbMessageProvider
    implements com.tietoenator.trip.jxp.internal.utils.DOMSink
    Provides configuration entries that specify file locations. This class requires file or system manager privileges to use.
    • Constructor Detail

      • TdbLocations

        public TdbLocations​(TdbSession session)
                     throws TdbException
        Creates a specialized view on the TRIP configuration that provides file location definitions. This class requires file or system manager privileges to use.
        Throws:
        TdbException
    • Method Detail

      • getLocationNames

        public java.lang.String[] getLocationNames()
        Returns a sorted array of location names, merged from all sections in the TRIP configuration.
        Returns:
        Array of location names
      • getLocationPath

        public java.lang.String getLocationPath​(java.lang.String name)
        Returns the path that a particular location name refers to.
        Parameters:
        name - Location name
        Returns:
        File system path on TRIP server or null if the location name was not found