public class PgxFileLocationResource extends java.lang.Object implements PgxResource
PgxResource.Type| Constructor and Description |
|---|
PgxFileLocationResource(java.lang.String name, java.nio.file.Path path) |
PgxFileLocationResource(java.lang.String name, java.lang.String location) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
java.nio.file.Path |
getPath() |
PgxResource.Type |
getResourceType() |
int |
hashCode() |
static boolean |
isFileResource(java.lang.String uri) |
static java.nio.file.Path |
normalizeLocation(java.lang.String location, oracle.pgx.common.UserContext userContext) |
static PgxFileLocationResource |
of(java.lang.String location, oracle.pgx.common.UserContext userContext) |
java.lang.String |
toString() |
public PgxFileLocationResource(java.lang.String name,
java.nio.file.Path path)public PgxFileLocationResource(java.lang.String name,
java.lang.String location)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getName()
public java.nio.file.Path getPath()
public PgxResource.Type getResourceType()
getResourceType in interface PgxResourcepublic int hashCode()
hashCode in class java.lang.Objectpublic static boolean isFileResource(java.lang.String uri)
public static java.nio.file.Path normalizeLocation(java.lang.String location,
oracle.pgx.common.UserContext userContext)public static PgxFileLocationResource of(java.lang.String location, oracle.pgx.common.UserContext userContext)
public java.lang.String toString()
toString in class java.lang.Object