| java.lang.Object com.knowgate.dfs.FileSystem com.knowgate.workareas.FileSystemWorkArea
Method Summary | |
public boolean | mkstorpath(int iDomain, String sWorkArea, String sPath) Create a complete directory branch under storage root directory
The given path is appended to storage/domains/iDomain/workareas/sWorkArea/
and the full resulting path is created if it does not exist.
Parameters: iDomain - Domain Numeric Identifier Parameters: sWorkArea - WorkArea GUID Parameters: sPath - Relative path to be created under workarea directory. | public boolean | mkworkpath(String sWorkArea, String sPath) Create a complete directory branch under workarea root directory.
The given path is appended to "file://" + workareasput + sWorkArea
and the full resulting path is created if it does not exist. | public boolean | mkworkpath(String sWorkArea) | public boolean | rmstorpath(int iDomain, String sWorkArea, String sPath) | public boolean | rmstorpath(int iDomain, String sWorkArea) | public boolean | rmworkpath(String sWorkArea, String sPath) Delete a directory and all its subdirectories and files
under workarea root directory at /web branch.
The given path is appended to "file://" + workareasput + sWorkArea,
the resulting directory and all its childs are deleted. | public boolean | rmworkpath(String sWorkArea) Delete workarea root directory at /web branch.
The given path is appended to "file://" + workareasput + ,
the resulting directory and all its childs are deleted. |
mkstorpath | public boolean mkstorpath(int iDomain, String sWorkArea, String sPath) throws Exception, IOException(Code) | | Create a complete directory branch under storage root directory
The given path is appended to storage/domains/iDomain/workareas/sWorkArea/
and the full resulting path is created if it does not exist.
Parameters: iDomain - Domain Numeric Identifier Parameters: sWorkArea - WorkArea GUID Parameters: sPath - Relative path to be created under workarea directory. For example:"ROOT/DOMAINS/TEST1/TEST1_USERS/TEST1_administrator/TEST1_administrator_temp"If sPath is null hen the workarea root directory itself will be created. throws: IOException - throws: IllegalArgumentException - If sWorkArea is null |
mkworkpath | public boolean mkworkpath(String sWorkArea, String sPath) throws Exception, IOException(Code) | | Create a complete directory branch under workarea root directory.
The given path is appended to "file://" + workareasput + sWorkArea
and the full resulting path is created if it does not exist.
Parameters: sWorkArea - WorkArea GUID Parameters: sPath - Relative path to be created under workareas root directory throws: IOException - throws: IllegalArgumentException - If sWorkArea is null |
rmstorpath | public boolean rmstorpath(int iDomain, String sWorkArea, String sPath) throws Exception, IOException(Code) | | Remove workarea files under /storage branch
Parameters: iDomain - WorkArea Domain Numeric Identifier Parameters: sWorkArea - WorkArea GUID Parameters: sPath - Relative path from workarea subdirectory to delete. throws: Exception - throws: IOException - |
rmstorpath | public boolean rmstorpath(int iDomain, String sWorkArea) throws Exception, IOException(Code) | | Remove workarea files under /storage branch
Parameters: iDomain - WorkArea Domain Numeric Identifier Parameters: sWorkArea - WorkArea GUID throws: Exception - throws: IOException - |
rmworkpath | public boolean rmworkpath(String sWorkArea, String sPath) throws IOException, IllegalArgumentException(Code) | | Delete a directory and all its subdirectories and files
under workarea root directory at /web branch.
The given path is appended to "file://" + workareasput + sWorkArea,
the resulting directory and all its childs are deleted.
Parameters: sWorkArea - WorkArea GUID Parameters: sPath - Relative path to be created under workareas root directory throws: IOException - throws: IllegalArgumentException - If sWorkArea is null |
Methods inherited from com.knowgate.dfs.FileSystem | public static void convert(String sFilePath, String sOldCharset, String sNewCharset) throws FileNotFoundException, IOException, UnsupportedEncodingException(Code)(Java Doc) public boolean copy(String sSourceURI, String sTargetURI) throws MalformedURLException, IOException, Exception(Code)(Java Doc) public boolean delete(String sFullURI) throws IOException(Code)(Java Doc) public boolean delete(String sFullURI, String sDeferedFiles) throws IOException(Code)(Java Doc) public static String detectEncoding(File oFile, String sDefault) throws FileNotFoundException, IOException(Code)(Java Doc) public String detectEncoding(String sFilePath, String sDefault) throws FileNotFoundException, IOException, FTPException(Code)(Java Doc) protected String file()(Code)(Java Doc) public int filelen(String sFullURI) throws IOException(Code)(Java Doc) protected String host()(Code)(Java Doc) public boolean mkdirs(String sFullURI) throws Exception, IOException(Code)(Java Doc) public boolean move(String sSourceURI, String sTargetURI) throws Exception, IOException(Code)(Java Doc) public void os(int iOperatingSystem)(Code)(Java Doc) public void password(String sPassword)(Code)(Java Doc) public String password()(Code)(Java Doc) protected String path()(Code)(Java Doc) public static char[] readfile(String sFilePath) throws FileNotFoundException, IOException, OutOfMemoryError, FTPException(Code)(Java Doc) public static char[] readfile(String sFilePath, String sCharSet) throws FileNotFoundException, IOException, OutOfMemoryError, FTPException(Code)(Java Doc) public byte[] readfilebin(String sFilePath) throws MalformedURLException, FTPException, FileNotFoundException, IOException, OutOfMemoryError(Code)(Java Doc) public String readfilestr(String sFilePath, String sEncoding) throws MalformedURLException, FTPException, FileNotFoundException, IOException, OutOfMemoryError(Code)(Java Doc) public boolean rename(String sSourceURI, String sTargetURI) throws Exception, IOException, ProtocolException(Code)(Java Doc) public boolean rmdir(String sFullURI) throws IOException(Code)(Java Doc) protected void splitURI(String sURI)(Code)(Java Doc) public void user(String sUser)(Code)(Java Doc) public String user()(Code)(Java Doc) public void writefilebin(String sFilePath, byte[] aBytes) throws IOException(Code)(Java Doc) public void writefilestr(String sFilePath, String sText, String sEncoding) throws IOException, OutOfMemoryError(Code)(Java Doc)
|
|
|