public interface Website extends Container
| Modifier and Type | Method and Description |
|---|---|
StoredObject |
getErrorPage()
Gets the error page of the website.
|
java.lang.String |
getHost()
Get the original host, which is a combination of the container and the original (non-configured) public
host.
|
StoredObject |
getIndexPage()
Gets the index page of the website.
|
StoredObject |
getListingCSS()
Gets the CSS file to use for adding layout to the file listing.
|
boolean |
isListing()
If this value is true, the site will be shown as a file listing instead of a regular website
|
void |
pullDirectory(java.io.File directory)
Compares a local directory to the contents of the Container on the basis of MD5 hashes (ie, Etag).
|
void |
pushDirectory(java.io.File directory)
Compares a local directory to the contents of the Container on the basis of MD5 hashes (ie, Etag).
|
void |
setErrorPage(StoredObject errorPage)
Gets the error page of the website.
|
Website |
setIgnoreFilters(java.lang.String[] ignoreFilters)
Passes a number of files and directories that must be ignored by the push/pull mechanism.
|
void |
setIndexPage(StoredObject indexPage)
Sets the index page of the website.
|
void |
setListing(boolean listing)
Sets whether the container must be shown as a listing.
|
void |
setListingCSS(StoredObject listingCSS)
Sets the CSS file to use for adding layout to the listing.
|
create, delete, exists, getAccount, getBytesUsed, getContainerReadPermission, getcontainerWritePermission, getCount, getCustomHeaders, getFormPost, getObject, getObjectSegment, isInfoRetrieved, isPublic, listDirectory, listDirectory, listDirectory, makePrivate, makePublic, reload, setBytesUsed, setContainerRights, setCount, setCustomHeadersgetMetadata, getMetadata, getPath, removeAndDoNotSaveMetadata, removeAndSaveMetadata, saveMetadata, setAndDoNotSaveMetadata, setAndSaveMetadata, setMetadatagetMaxPageSize, getPaginationMap, getPaginationMap, list, list, listgetName, metadataSetFromHeadersStoredObject getIndexPage()
StoredObject getErrorPage()
boolean isListing()
StoredObject getListingCSS()
void setIndexPage(StoredObject indexPage)
indexPage - index page of the websitevoid setErrorPage(StoredObject errorPage)
errorPage - error page of the websitevoid setListing(boolean listing)
listing - true, the container is a listing, false, the container is static websitevoid setListingCSS(StoredObject listingCSS)
listingCSS - CSS filejava.lang.String getHost()
void pushDirectory(java.io.File directory)
directory - the directory to check against the Container's contentvoid pullDirectory(java.io.File directory)
directory - the directory to check against the Container's contentWebsite setIgnoreFilters(java.lang.String[] ignoreFilters)
ignoreFilters - files/directories to be ignoredCopyright © 2012-2020 42 BV. All Rights Reserved.