|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PathToDocumentIdMapper
This interface is basically the reverse of DocumentIdToPathMapper.
Method Summary | |
---|---|
java.lang.String |
getDocumentId(Publication publication,
java.lang.String area,
java.io.File file)
Compute the document-id for a given file. |
java.lang.String |
getLanguage(java.io.File file)
Returns the language for a given file |
Method Detail |
---|
java.lang.String getDocumentId(Publication publication, java.lang.String area, java.io.File file) throws DocumentDoesNotExistException
publication
- the publication where the file is.area
- the area where the file is.file
- the file that is associated with the document
DocumentDoesNotExistException
- if there is no document associated with this file.java.lang.String getLanguage(java.io.File file)
file
- the document file
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |