public interface DocumentPaths
The paths of the files in the document folder of the Debian package.
| Modifier and Type | Method and Description |
|---|---|
String |
getChangeLogGzipPath()
Returns the path of the GZIP compressed change log file.
|
String |
getChangeLogHtmlGzipPath()
Returns the path of the GZIP compressed HTML formatted change log file.
|
String |
getChangeLogHtmlPath()
Returns the path of the HTML formatted change log file.
|
String |
getChangeLogPath()
Returns the path of the change log file.
|
String |
getCopyrightPath()
Returns the path of the copyright file.
|
String |
getDocumentBasePath()
Returns the base path of the document folder.
|
String |
getDocumentPath()
Returns the path of the document folder of the Debian package.
|
boolean |
isChangeLogDebianPath(String path)
Returns the flag if the specified path is the path of the Debian change
log file.
|
boolean |
isChangeLogGzipPath(String path)
Returns the flag if the specified path is the path of a GZIP compressed
change log file.
|
boolean |
isChangeLogHtmlPath(String path)
Returns the flag if the specified path is the path of a HTML formatted
change log file.
|
boolean |
isChangeLogPath(String path)
Returns the flag if the specified path is the path of the change log
file.
|
boolean |
isCopyrightPath(String path)
Returns the flag if the specified path is the path of the copyright file.
|
String getDocumentBasePath()
Returns the base path of the document folder.
Normally this should be:
/usr/share/doc/
String getDocumentPath()
Returns the path of the document folder of the Debian package.
Normally this should be:
/usr/share/doc/[package-name]/
boolean isCopyrightPath(String path)
Returns the flag if the specified path is the path of the copyright file.
path - The path.true, if the path is the path of the
copyright file, false otherwise.IllegalArgumentException - If the path is null.String getCopyrightPath()
Returns the path of the copyright file.
Normally this should be:
/usr/share/doc/[package-name]/copyright
boolean isChangeLogPath(String path)
Returns the flag if the specified path is the path of the change log file.
The method doesn't determine the format and/or compression of the change log file.
path - The path.true, if the path is the path of the
change log file, false otherwise.IllegalArgumentException - If the path is null.isChangeLogGzipPath(String),
isChangeLogHtmlPath(String)boolean isChangeLogDebianPath(String path)
Returns the flag if the specified path is the path of the Debian change log file.
The filename of the Debian change log starts with "changelog.Debian.*". It often exists parallel to the "changelog.*" file which in this case has its own, non-standard format. If both files exists the Debian change log should always be used.
path - The path.true, if the path is the path of the
Debian change log file, false otherwise.IllegalArgumentException - If the path is null.boolean isChangeLogGzipPath(String path)
Returns the flag if the specified path is the path of a GZIP compressed change log file.
The method doesn't determine the format of the change log file.
path - The path.true, if the path is the path of a GZIP
compressed change log file, false otherwise.isChangeLogHtmlPath(String)boolean isChangeLogHtmlPath(String path)
Returns the flag if the specified path is the path of a HTML formatted change log file.
The method doesn't determine the compression of the change log file.
path - The path.true, if the path is the path of a HTML
formatted change log file, false otherwise.isChangeLogGzipPath(String)String getChangeLogPath()
Returns the path of the change log file.
Normally this should be:
/usr/share/doc/[package-name]/changelog
String getChangeLogGzipPath()
Returns the path of the GZIP compressed change log file.
Normally this should be:
/usr/share/doc/[package-name]/changelog.gz
String getChangeLogHtmlPath()
Returns the path of the HTML formatted change log file.
Normally this should be:
/usr/share/doc/[package-name]/changelog.html
String getChangeLogHtmlGzipPath()
Returns the path of the GZIP compressed HTML formatted change log file.
Normally this should be:
/usr/share/doc/[package-name]/changelog.html.gz
Copyright © 2015–2019. All rights reserved.