@Immutable
public class ResourceSpecifier
extends Object
Represents a resource for a specified protocol and identifier.
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceSpecifier.Builder
Builder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
byte[] |
getIdentifier()
Gets the identifier.
|
int |
getProtocol()
Gets the protocol.
|
int |
hashCode() |
static ResourceSpecifier.Builder |
newBuilder()
Returns a new builder.
|
@Nonnull @CheckReturnValue public static ResourceSpecifier.Builder newBuilder()
public boolean equals(Object other)
equals in class Object@Nonnull @CheckReturnValue public byte[] getIdentifier()
@CheckReturnValue public int getProtocol()
public int hashCode()
hashCode in class ObjectCopyright © 2003-2019 Serge Brisson. All Rights Reserved.