Uses of Class
org.openprovenance.prov.interop.InteropFramework.ProvFormat
-
-
Uses of InteropFramework.ProvFormat in org.openprovenance.prov.interop
Fields in org.openprovenance.prov.interop with type parameters of type InteropFramework.ProvFormat Modifier and Type Field Description Hashtable<InteropFramework.ProvFormat,String>InteropFramework. extensionMapHashtable<String,InteropFramework.ProvFormat>InteropFramework. extensionRevMapHashtable<InteropFramework.ProvFormat,String>InteropFramework. mimeTypeMapHashtable<String,InteropFramework.ProvFormat>InteropFramework. mimeTypeRevMapHashtable<InteropFramework.ProvFormat,InteropFramework.ProvFormatType>InteropFramework. provTypeMapMethods in org.openprovenance.prov.interop that return InteropFramework.ProvFormat Modifier and Type Method Description InteropFramework.ProvFormatInteropFramework. getTypeForFile(String filename)Get aInteropFramework.ProvFormatgiven the file's exetensionInteropFramework.ProvFormatInteropFramework. getTypeForFormat(String format)Get aInteropFramework.ProvFormatgiven a format stringstatic InteropFramework.ProvFormatInteropFramework.ProvFormat. valueOf(String name)Returns the enum constant of this type with the specified name.static InteropFramework.ProvFormat[]InteropFramework.ProvFormat. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.openprovenance.prov.interop with parameters of type InteropFramework.ProvFormat Modifier and Type Method Description StringInteropFramework. getExtension(InteropFramework.ProvFormat format)Returns an extension for a given type of serialization of PROVBooleanInteropFramework. isInputFormat(InteropFramework.ProvFormat format)Determines whether this format received as argument is an input format.BooleanInteropFramework. isOutputFormat(InteropFramework.ProvFormat format)Determines whether this format received as argument is an output format.org.openprovenance.prov.model.DocumentInteropFramework. readDocument(InputStream is, InteropFramework.ProvFormat format, String baseuri)Reads a Document from an input stream, using the parser specified by the format argument.org.openprovenance.prov.model.DocumentInteropFramework. readDocument(InputStream is, InteropFramework.ProvFormat format, org.openprovenance.prov.model.ProvFactory pFactory, String baseuri)Reads a Document from an input stream, using the parser specified by the format argument.org.openprovenance.prov.model.DocumentInteropFramework. readDocumentFromFile(String filename, InteropFramework.ProvFormat format)Reads a document from a file, using the format to decide which parser to read the file with.voidInteropFramework. writeDocument(OutputStream os, InteropFramework.ProvFormat format, org.openprovenance.prov.model.Document document)Write aDocumentto output stream, according to specifiedInteropFramework.ProvFormatvoidInteropFramework. writeDocument(String filename, InteropFramework.ProvFormat format, org.openprovenance.prov.model.Document document)Write aDocumentto file, serialized according to the file extensionMethod parameters in org.openprovenance.prov.interop with type arguments of type InteropFramework.ProvFormat Modifier and Type Method Description voidInteropFramework. initializeExtensionMap(Hashtable<InteropFramework.ProvFormat,String> extensionMap, Hashtable<String,InteropFramework.ProvFormat> extensionRevMap)Initialization function
-