photospace.meta
Interface Persister
- All Known Implementing Classes:
- PersisterImpl
- public interface Persister
getMeta
public Meta getMeta(java.lang.String path)
throws java.io.IOException,
com.drew.imaging.jpeg.JpegProcessingException,
com.drew.metadata.MetadataException,
java.text.ParseException
- Throws:
java.io.IOException
com.drew.imaging.jpeg.JpegProcessingException
com.drew.metadata.MetadataException
java.text.ParseException
getMeta
public Meta getMeta(java.io.File file)
throws java.io.IOException,
com.drew.imaging.jpeg.JpegProcessingException,
com.drew.metadata.MetadataException,
java.text.ParseException
- Throws:
java.io.IOException
com.drew.imaging.jpeg.JpegProcessingException
com.drew.metadata.MetadataException
java.text.ParseException
getPath
public java.lang.String getPath(java.io.File file)
saveMeta
public void saveMeta(java.lang.String path,
Meta meta)
throws java.io.IOException,
java.io.FileNotFoundException
- Throws:
java.io.IOException
java.io.FileNotFoundException
saveMeta
public void saveMeta(java.io.File file,
Meta meta)
throws java.io.IOException,
java.io.FileNotFoundException
- Throws:
java.io.IOException
java.io.FileNotFoundException
writeJpegComment
public void writeJpegComment(java.io.File jpeg,
java.lang.String rdf)
throws java.io.IOException
- Throws:
java.io.IOException
getExif
public com.drew.metadata.Metadata getExif(java.io.File jpeg)
throws java.io.FileNotFoundException,
java.io.IOException,
com.drew.imaging.jpeg.JpegProcessingException
- Throws:
java.io.FileNotFoundException
java.io.IOException
com.drew.imaging.jpeg.JpegProcessingException
getExif
public com.drew.metadata.Metadata getExif(java.io.InputStream in)
throws com.drew.imaging.jpeg.JpegProcessingException
- Throws:
com.drew.imaging.jpeg.JpegProcessingException
remove
public void remove(Meta meta)
throws java.io.IOException,
com.drew.imaging.jpeg.JpegProcessingException
- Throws:
java.io.IOException
com.drew.imaging.jpeg.JpegProcessingException
removeRdf
public void removeRdf(java.io.File file)
throws java.io.IOException,
com.drew.imaging.jpeg.JpegProcessingException
- Throws:
java.io.IOException
com.drew.imaging.jpeg.JpegProcessingException
getRdf
public com.hp.hpl.jena.rdf.model.Model getRdf(java.io.File file)
throws java.io.IOException,
com.drew.imaging.jpeg.JpegProcessingException
- Throws:
java.io.IOException
com.drew.imaging.jpeg.JpegProcessingException
getMetaFile
public java.io.File getMetaFile(java.io.File file)