Package oracle.pgx.common.auth
Class PgxFileLocationResource
- java.lang.Object
-
- oracle.pgx.common.auth.PgxFileLocationResource
-
- All Implemented Interfaces:
PgxResource
public class PgxFileLocationResource extends java.lang.Object implements PgxResource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface oracle.pgx.common.auth.PgxResource
PgxResource.Type
-
-
Constructor Summary
Constructors Constructor Description PgxFileLocationResource(java.lang.String name, java.lang.String location)PgxFileLocationResource(java.lang.String name, java.nio.file.Path path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetName()java.nio.file.PathgetPath()PgxResource.TypegetResourceType()inthashCode()static booleanisFileResource(java.lang.String uri)static java.nio.file.PathnormalizeLocation(java.lang.String location, oracle.pgx.common.UserContext userContext)static PgxFileLocationResourceof(java.lang.String location, oracle.pgx.common.UserContext userContext)java.lang.StringtoString()
-
-
-
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()
-
getResourceType
public PgxResource.Type getResourceType()
- Specified by:
getResourceTypein interfacePgxResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-