JenaOWLModelクラスのsaveメソッドの細く
ファイルに出力する場合のパラメタは、
- fileURI - the URI of the target file
- language - the Jena output language (typically FileUtils.langXMLAbbrev)
- errors - an initially empty collection of errors
とのこと。
ファイルではなく、出力ストリームに書くこともできます。
public void save(OutputStream os, String language, Collection errors)