public class RawData extends Object
AnnotatedText
does not store bytes; this class
serves components that consume bytes, e.g. encoding identification.public RawData(ByteBuffer data, Map<String,List<String>> metadata)
data
- the binary datametadata
- metadata, such as mime type, creation date, or the likepublic ByteBuffer getData()
Copyright © 2016 Basis Technology Corporation. All Rights Reserved.