Index
All Classes|All Packages
A
- ALWAYS - com.thunken.beacon.BeaconUpdate
- ANNOTATION - com.thunken.beacon.BeaconMetaField
B
- BEACON - com.thunken.beacon.BeaconMetaField.ValueType
- BeaconFormatException - Exception in com.thunken.beacon
-
Thrown to indicate that a method has been passed data that violates the BEACON specification.
- BeaconFormatException() - Constructor for exception com.thunken.beacon.BeaconFormatException
-
Constructs a
BeaconFormatException
withnull
as its error detail message. - BeaconFormatException(BeaconMetaField, String) - Constructor for exception com.thunken.beacon.BeaconFormatException
-
Constructs a
BeaconFormatException
, using the parameters to build the detail message. - BeaconFormatException(String) - Constructor for exception com.thunken.beacon.BeaconFormatException
-
Constructs a
BeaconFormatException
with the specified detail message. - BeaconFormatException(Throwable) - Constructor for exception com.thunken.beacon.BeaconFormatException
-
Constructs a
BeaconFormatException
with the specified cause and a detail message of(cause==null ? null : cause.toString())
(which typically contains the class and detail message ofcause
). - BeaconLink - Class in com.thunken.beacon
-
Main class for BEACON links.
- BeaconLink(String, String, String, BeaconMetaFields) - Constructor for class com.thunken.beacon.BeaconLink
- BeaconMetaField - Enum in com.thunken.beacon
-
Enumerated type for BEACON meta fields.
- BeaconMetaField.Type - Enum in com.thunken.beacon
-
Enumerated type for BEACON meta field types.
- BeaconMetaField.ValueType - Enum in com.thunken.beacon
- BeaconMetaFields - Class in com.thunken.beacon
-
Custom collection to hold multiple BEACON meta fields and their respective values.
- BeaconMetaFields() - Constructor for class com.thunken.beacon.BeaconMetaFields
- BeaconMetaFields(BeaconMetaFields) - Constructor for class com.thunken.beacon.BeaconMetaFields
- BeaconMetaFields(Map<BeaconMetaField, String>) - Constructor for class com.thunken.beacon.BeaconMetaFields
- BeaconParser - Class in com.thunken.beacon
-
Main class to parse BEACON dumps.
- BeaconParser(Reader) - Constructor for class com.thunken.beacon.BeaconParser
-
Creates a BEACON parser that uses the specified
Reader
, and initializes the parser'sBeaconMetaFields
from the meta lines. - BeaconParser(Reader, BeaconMetaFields) - Constructor for class com.thunken.beacon.BeaconParser
-
Creates a BEACON parser that uses the specified
Reader
and defaultBeaconMetaFields
, and further initializes the parser'sBeaconMetaFields
from the meta lines. - BeaconUpdate - Enum in com.thunken.beacon
-
Enumerated type for BEACON dump update frequencies.
C
- close() - Method in class com.thunken.beacon.BeaconParser
- com.thunken.beacon - package com.thunken.beacon
-
Utilities for BEACON, a data interchange format for large numbers of uniform links.
- CONTACT - com.thunken.beacon.BeaconMetaField
- CREATOR - com.thunken.beacon.BeaconMetaField
D
- DAILY - com.thunken.beacon.BeaconUpdate
- DEFAULT_META_VALUE - Static variable in enum com.thunken.beacon.BeaconMetaField
- DESCRIPTION - com.thunken.beacon.BeaconMetaField
E
- equals(Object) - Method in class com.thunken.beacon.BeaconLink
- equals(Object) - Method in class com.thunken.beacon.BeaconMetaFields
F
- FEED - com.thunken.beacon.BeaconMetaField
- FORMAT - com.thunken.beacon.BeaconMetaField
G
- getAnnotation() - Method in class com.thunken.beacon.BeaconLink
-
Returns this link's annotation.
- getAnnotationToken() - Method in class com.thunken.beacon.BeaconLink
- getDefaultValue() - Method in enum com.thunken.beacon.BeaconMetaField
- getDefaultValues() - Method in enum com.thunken.beacon.BeaconMetaField
-
Deprecated.
- getLineNo() - Method in class com.thunken.beacon.BeaconParser
- getLinkNo() - Method in class com.thunken.beacon.BeaconParser
-
Returns the current link number.
- getMetaFields() - Method in class com.thunken.beacon.BeaconLink
- getMetaFields() - Method in class com.thunken.beacon.BeaconParser
- getRelationType() - Method in class com.thunken.beacon.BeaconLink
-
Returns this link's relation type.
- getSourceIdentifier() - Method in class com.thunken.beacon.BeaconLink
-
Returns this link's source identifier.
- getSourceToken() - Method in class com.thunken.beacon.BeaconLink
- getTargetIdentifier() - Method in class com.thunken.beacon.BeaconLink
-
Returns this link's target identifier.
- getTargetToken() - Method in class com.thunken.beacon.BeaconLink
- getTemporalAmount() - Method in enum com.thunken.beacon.BeaconUpdate
- getType() - Method in enum com.thunken.beacon.BeaconMetaField
- getValue(BeaconMetaField) - Method in class com.thunken.beacon.BeaconMetaFields
-
Returns the value to which the specified field is mapped.
- getValues(BeaconMetaField) - Method in class com.thunken.beacon.BeaconMetaFields
-
Deprecated.Meta fields are not repeatable anymore, so this method returns an immutable set containing the only value to which the specified field is mapped.
- getValueType() - Method in enum com.thunken.beacon.BeaconMetaField
H
- hashCode() - Method in class com.thunken.beacon.BeaconLink
- hashCode() - Method in class com.thunken.beacon.BeaconMetaFields
- hasNext() - Method in class com.thunken.beacon.BeaconParser
-
Returns
true
if the underlying BEACON dump has more links. - HOMEPAGE - com.thunken.beacon.BeaconMetaField
- HOURLY - com.thunken.beacon.BeaconUpdate
I
- INSTITUTION - com.thunken.beacon.BeaconMetaField
- isDefault(BeaconMetaField) - Method in class com.thunken.beacon.BeaconMetaFields
-
Returns
true
if the specified field is mapped to its default value. - isRepeatable() - Method in enum com.thunken.beacon.BeaconMetaField
-
Deprecated.Meta fields are not repeatable anymore, so this method always returns
false
.
L
- LINK_CONSTRUCTION - com.thunken.beacon.BeaconMetaField.Type
- LINK_DUMP - com.thunken.beacon.BeaconMetaField.Type
M
- MESSAGE - com.thunken.beacon.BeaconMetaField
- MONTHLY - com.thunken.beacon.BeaconUpdate
N
- NAME - com.thunken.beacon.BeaconMetaField
- NEVER - com.thunken.beacon.BeaconUpdate
- next() - Method in class com.thunken.beacon.BeaconParser
-
Returns an
Optional
describing the nextBeaconLink
in the underlying BEACON dump, orOptional.empty()
if the corresponding line cannot be parsed.
O
- of(String) - Static method in enum com.thunken.beacon.BeaconUpdate
P
- parseLine(String, BeaconMetaFields) - Static method in class com.thunken.beacon.BeaconParser
-
Parses a BEACON link line and returns an
Optional
describing the correspondingBeaconLink
, orOptional.empty()
if the line cannot be parsed into a valid link. - PREFIX - com.thunken.beacon.BeaconMetaField
R
- RELATION - com.thunken.beacon.BeaconMetaField
- remove() - Method in class com.thunken.beacon.BeaconParser
-
BeaconParser
provides read-only access to a BEACON dump, soIterator.remove()
is not supported.
S
- SOURCE_DATASET - com.thunken.beacon.BeaconMetaField.Type
- SOURCESET - com.thunken.beacon.BeaconMetaField
- STRING - com.thunken.beacon.BeaconMetaField.ValueType
T
- TARGET - com.thunken.beacon.BeaconMetaField
- TARGET_DATASET - com.thunken.beacon.BeaconMetaField.Type
- TARGETSET - com.thunken.beacon.BeaconMetaField
- test(String) - Method in enum com.thunken.beacon.BeaconMetaField
- TIMESTAMP - com.thunken.beacon.BeaconMetaField
- TIMESTAMP - com.thunken.beacon.BeaconMetaField.ValueType
- toString() - Method in class com.thunken.beacon.BeaconMetaFields
- toString() - Method in enum com.thunken.beacon.BeaconUpdate
U
- UPDATE - com.thunken.beacon.BeaconMetaField
- UPDATE - com.thunken.beacon.BeaconMetaField.ValueType
- URI - com.thunken.beacon.BeaconMetaField.ValueType
- URI_PATTERN - com.thunken.beacon.BeaconMetaField.ValueType
- URL - com.thunken.beacon.BeaconMetaField.ValueType
V
- valueOf(String) - Static method in enum com.thunken.beacon.BeaconMetaField.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.thunken.beacon.BeaconMetaField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.thunken.beacon.BeaconMetaField.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.thunken.beacon.BeaconUpdate
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.thunken.beacon.BeaconMetaField.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.thunken.beacon.BeaconMetaField
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.thunken.beacon.BeaconMetaField.ValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.thunken.beacon.BeaconUpdate
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WEEKLY - com.thunken.beacon.BeaconUpdate
Y
- YEARLY - com.thunken.beacon.BeaconUpdate
All Classes|All Packages