36 Document(
const std::string &filepath,
const std::string &mediaType);
37 Document(
const std::string &
filename,
const std::string &filepath,
const std::string &mediaType,
const std::string &
id =
"");
38 std::string getId()
const;
39 std::string getFileName()
const;
40 std::string getFilePath()
const;
41 std::string getMediaType()
const;
44 void saveAs(
const std::string& path)
throw(
IOException);