public class DirSite extends WebSite
WebSite.Servlet
Refresh_Prop
Constructor and Description |
---|
DirSite() |
Modifier and Type | Method and Description |
---|---|
protected WebFile |
createDirFile(java.lang.String aPath,
boolean isDir)
Returns the directory file for a path.
|
protected void |
deleteFileImpl(WebFile aFile)
Delete file.
|
protected void |
deleteRowImpl(Row aRow)
Deletes a given row.
|
WebFile |
getDir()
Returns the directory.
|
protected WebFile |
getDirFile(java.lang.String aPath)
Returns the directory file for a path.
|
protected byte[] |
getFileBytesImpl(WebFile aFile)
Return file bytes.
|
protected WebFile |
getFileImpl(java.lang.String aPath)
Get file from directory.
|
protected java.util.List<WebFile> |
getFilesImpl(WebFile aFile)
Get file from directory.
|
protected java.util.List |
getRowsImpl(Entity anEntity,
Query aQuery)
WebSite methods.
|
protected void |
saveFileImpl(WebFile aFile)
Save file.
|
protected void |
saveRowImpl(Row aRow)
Inserts or updates a given row.
|
addDeepChangeListener, bulkImport, createClassLoader, createDataTable, createDataTableImpl, createEntity, createEntityImpl, createFile, createFileImpl, createRow, createRow, createRowImpl, createSandbox, createSandboxURL, createSandboxURLS, createSchema, createSite, createURL, deleteEntity, deleteEntityImpl, deleteFile, deleteRow, deleteSite, flush, flushImpl, getClassLoader, getDataTable, getDataTables, getEntity, getEntityImpl, getExists, getFile, getHostName, getJSONKeys, getModifiedTime, getName, getPassword, getPath, getProp, getRequest, getResponse, getRootDirectory, getRow, getRow, getRowImpl, getRows, getSandbox, getSchema, getServlet, getStandardFile, getURL, getURL, getURLString, getUserName, handleDelete, handleGet, handleHead, handlePut, isRunning, propertyChange, refresh, refreshFile, refreshFileImpl, removeDeepChangeListener, saveEntity, saveEntityImpl, saveFile, saveRow, setClassLoader, setExists, setModifiedTime, setModifiedTimeImpl, setPassword, setProp, setSandbox, setServlet, setURL, setUserName, toString
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public WebFile getDir()
protected WebFile getDirFile(java.lang.String aPath)
protected WebFile createDirFile(java.lang.String aPath, boolean isDir)
protected WebFile getFileImpl(java.lang.String aPath) throws java.lang.Exception
getFileImpl
in class WebSite
java.lang.Exception
protected java.util.List<WebFile> getFilesImpl(WebFile aFile) throws java.lang.Exception
getFilesImpl
in class WebSite
java.lang.Exception
protected byte[] getFileBytesImpl(WebFile aFile) throws java.lang.Exception
getFileBytesImpl
in class WebSite
java.lang.Exception
protected void saveFileImpl(WebFile aFile) throws java.lang.Exception
saveFileImpl
in class WebSite
java.lang.Exception
protected void deleteFileImpl(WebFile aFile) throws java.lang.Exception
deleteFileImpl
in class WebSite
java.lang.Exception
protected java.util.List getRowsImpl(Entity anEntity, Query aQuery)
getRowsImpl
in class WebSite
protected void saveRowImpl(Row aRow)
WebSite
saveRowImpl
in class WebSite
protected void deleteRowImpl(Row aRow)
WebSite
deleteRowImpl
in class WebSite