Class PgxFileLocationResource

  • All Implemented Interfaces:
    PgxResource

    public class PgxFileLocationResource
    extends java.lang.Object
    implements PgxResource
    • Constructor Detail

      • PgxFileLocationResource

        public PgxFileLocationResource​(java.lang.String name,
                                       java.lang.String location)
      • PgxFileLocationResource

        public PgxFileLocationResource​(java.lang.String name,
                                       java.nio.file.Path path)
    • Method Detail

      • of

        public static PgxFileLocationResource of​(java.lang.String location,
                                                 oracle.pgx.common.UserContext userContext)
      • isFileResource

        public static boolean isFileResource​(java.lang.String uri)
      • normalizeLocation

        public static java.nio.file.Path normalizeLocation​(java.lang.String location,
                                                           oracle.pgx.common.UserContext userContext)
      • getName

        public java.lang.String getName()
      • getPath

        public java.nio.file.Path getPath()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object