| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | getPath()
Implements liquibase. Returns the normalized, ResourceAccessor-relative path for this resource. |
| public URI | getUri()
Implements liquibase. Returns a unique and complete identifier for this resource. |
| public int | |
| public boolean | isWritable()
Implements liquibase. Return true if the resource can be written to |
| public OutputStream | openOutputStream(OpenOptions openOptions)
Implements liquibase. Opens an output stream given the passed |
| protected String | resolvePath(String other)
Convenience method for computing the relative path in |
| protected String | resolveSiblingPath(String other)
Convenience method for computing the relative path in |
| public String |
| AbstractResource | back to summary |
|---|---|
| public AbstractResource(String path, URI uri) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getPath | back to summary |
|---|---|
| public String getPath() Implements liquibase. Doc from liquibase. Returns the normalized, ResourceAccessor-relative path for this resource.
To get the unique location of this resource, use
| |
| getUri | back to summary |
|---|---|
| public URI getUri() Implements liquibase. Doc from liquibase. Returns a unique and complete identifier for this resource.
This will be different than what is returned by
For example, a file resource may return a path of
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isWritable | back to summary |
|---|---|
| public boolean isWritable() Implements liquibase. Doc from liquibase. Return true if the resource can be written to
| |
| openOutputStream | back to summary |
|---|---|
| public OutputStream openOutputStream(OpenOptions openOptions) throws IOException Implements liquibase. Doc from liquibase. Opens an output stream given the passed
| |
| resolvePath | back to summary |
|---|---|
| protected String resolvePath(String other) Convenience method for computing the relative path in | |
| resolveSiblingPath | back to summary |
|---|---|
| protected String resolveSiblingPath(String other) Convenience method for computing the relative path in | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |