edu.iris.Fissures.seed.container
Class SeedObjectTagMap
java.lang.Object
edu.iris.Fissures.seed.container.SeedObjectTagMap
public class SeedObjectTagMap
- extends java.lang.Object
This class provides a mapping between blockettes and the field values they would use
for memory map or other persistence tagging. (see SeedObjectTag)
This class will return only the information it can glean from the current blockette
and is not aware of its current station, channel, and epoch context in the rest
of the SEED volume. Therefore, this just supplies supplementary information.
- Version:
- 7/28/10
- Author:
- Robert Casey, IRIS DMC
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeedObjectTagMap
public SeedObjectTagMap()
getTagFields
public static java.util.HashMap<java.lang.String,java.lang.String> getTagFields(Blockette blk)
throws SeedException
- Return a hashmap that represents the per tag field information available
in the current blockette provided. This hashmap is compliant with that
used by SeedObjectTag (see idFieldNames).
For context fill by a parent blockette, use a "?" in the field value to
signal value replacement by parent context.
Stations have an instance field that follows it. The convention is to use a single lower
case character to denote a unique instance of the station name. Use the tag's increment()
method to seek a unique instance tag [a-z].
- Throws:
SeedException
setTagFieldsToBlk
public static Blockette setTagFieldsToBlk(Blockette blk,
SeedObjectTag tag)
throws SeedException
- Throws:
SeedException
getShortHash
public static java.lang.String getShortHash(java.lang.String performedOn,
int fieldSize)
throws java.security.NoSuchAlgorithmException
- Throws:
java.security.NoSuchAlgorithmException