Package | Description |
---|---|
org.dataone.mimemultipart | |
org.dataone.service.types.v1 | |
org.dataone.service.types.v1.util | |
org.dataone.service.types.v2.util | |
org.dataone.service.util |
Modifier and Type | Method and Description |
---|---|
void |
SimpleMultipartEntity.addFilePart(String name,
Object serializableD1Object)
The DataONE object (serializable datatype) passed in
is serialized as the specified type to file.
|
void |
SimpleMultipartEntity.addFilePart(String name,
Object serializableD1Object,
Class type)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
TypeFactory.clone(Object original)
Clone via marshalling and unmarshalling using the TypeMarshaller to ensure
a DEEP copy and no shared object references.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
NodelistUtil.mapNodeList(InputStream nodeListStream)
Convenience method of transferring nodeId and nodeBaseURL into a Map
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
NodelistUtil.mapNodeList(InputStream nodeListStream)
Convenience method of transferring nodeId and nodeBaseURL into a Map
|
Modifier and Type | Method and Description |
---|---|
static BigInteger |
BigIntegerMarshaller.deserializeBigInteger(String bigIntValue)
convert a String to a BigInteger
The String must be greater or equal to 0
|
static File |
TypeMarshaller.marshalTypeToFile(Object typeObject,
String filenamePath)
Marshalls the typeObject to the provided file.
|
static void |
TypeMarshaller.marshalTypeToOutputStream(Object typeObject,
OutputStream os)
Marshalls the typeObject to the provided outputStream.
|
static void |
TypeMarshaller.marshalTypeToOutputStream(Object typeObject,
OutputStream os,
String styleSheet)
Marshalls the typeObject to the provided outputStream.
|
static String |
BigIntegerMarshaller.serializeBigInteger(BigInteger bigInt) |
static <T> T |
TypeMarshaller.unmarshalTypeFromFile(Class<T> domainClass,
File file)
Unmarshals the contents of the filenamePath into the specified domainClass.
|
static <T> T |
TypeMarshaller.unmarshalTypeFromFile(Class<T> domainClass,
String filenamePath)
Unmarshalls the contents of file parameter to the specified domainClass
|
static <T> T |
TypeMarshaller.unmarshalTypeFromStream(Class<T> domainClass,
InputStream inputStream)
Unmarshals the inputStream to the specified domainClass
and unequivocally closes the passed in InputStream .
|
static void |
TypeMarshaller.validateAgainstSchema(Object typeObject)
A method to validate DataONE types against the schemas registered with the
TypeMarshaller.
|
Copyright © 2019. All Rights Reserved.