|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Resource in railo.commons.activation |
---|
Methods in railo.commons.activation that return Resource | |
---|---|
Resource |
ResourceDataSource.getResource()
Get Resource. |
Constructors in railo.commons.activation with parameters of type Resource | |
---|---|
ResourceDataSource(Resource res)
Constructor of the class |
Uses of Resource in railo.commons.digest |
---|
Methods in railo.commons.digest with parameters of type Resource | |
---|---|
static byte[] |
MD5Checksum.createChecksum(Resource res)
|
static String |
MD5Checksum.getMD5Checksum(Resource res)
|
Uses of Resource in railo.commons.io |
---|
Methods in railo.commons.io that return Resource | |
---|---|
static Resource[] |
SystemUtil.getClassPathes()
|
Resource |
SourceFileImpl.getFile()
|
static Resource |
SystemUtil.getHomeDirectory()
returns the Hoome Directory of the System |
Resource |
SourceFileImpl.getPhyscalFile()
|
Resource |
SourceFileImpl.getRoot()
|
static Resource |
SystemUtil.getRuningContextRoot()
|
static Resource |
SystemUtil.getSystemDirectory()
|
static Resource |
SystemUtil.getTempDirectory()
returns the Temp Directory of the System |
Methods in railo.commons.io with parameters of type Resource | |
---|---|
static String |
SystemUtil.addPlaceHolder(Resource file,
Config config,
String defaultValue)
|
static String |
SystemUtil.addPlaceHolder(Resource file,
String defaultValue)
|
static void |
CompressUtil.compress(int format,
Resource[] sources,
Resource target,
int mode)
compress data to a zip file |
static void |
CompressUtil.compress(int format,
Resource[] sources,
Resource target,
int mode)
compress data to a zip file |
static void |
CompressUtil.compress(int format,
Resource source,
Resource target,
boolean includeBaseFolder,
int mode)
compress data to a zip file |
static void |
CompressUtil.compressTar(Resource[] sources,
OutputStream target,
int mode)
|
static void |
CompressUtil.compressTar(Resource[] sources,
Resource target,
int mode)
compress a source file/directory to a tar file |
static void |
CompressUtil.compressTar(Resource[] sources,
Resource target,
int mode)
compress a source file/directory to a tar file |
static void |
CompressUtil.compressTar(String parent,
Resource[] sources,
org.apache.commons.compress.archivers.tar.TarOutputStream tos,
int mode)
|
static void |
CompressUtil.compressTGZ(Resource[] sources,
Resource target,
int mode)
compress a source file/directory to a tar/gzip file |
static void |
CompressUtil.compressTGZ(Resource[] sources,
Resource target,
int mode)
compress a source file/directory to a tar/gzip file |
static void |
CompressUtil.compressZip(Resource[] sources,
Resource target,
ResourceFilter filter)
compress a source file/directory to a zip file |
static void |
CompressUtil.compressZip(Resource[] sources,
Resource target,
ResourceFilter filter)
compress a source file/directory to a zip file |
static void |
CompressUtil.compressZip(Resource[] sources,
ZipOutputStream zos,
ResourceFilter filter)
|
static void |
IOUtil.copy(InputStream is,
Resource out,
boolean closeIS)
copy a input resource to a output resource |
static void |
IOUtil.copy(Resource in,
OutputStream os,
boolean closeOS)
copy a input resource to a output resource |
static void |
IOUtil.copy(Resource in,
Resource out)
copy a input resource to a output resource |
static void |
CompressUtil.extract(int format,
Resource[] sources,
Resource target)
extract a zip file to a directory |
static void |
CompressUtil.extract(int format,
Resource[] sources,
Resource target)
extract a zip file to a directory |
static void |
CompressUtil.extract(int format,
Resource source,
Resource target)
extract a zip file to a directory |
static BufferedReader |
IOUtil.getBufferedReader(Resource res,
String charset)
|
static String |
IOUtil.getMymeType(Resource res,
String defaultValue)
return the mime type of a file, dont check extension |
static Reader |
IOUtil.getReader(Resource res,
String charset)
|
static Writer |
IOUtil.getWriter(Resource res,
String charset)
|
static Writer |
IOUtil.getWriter(Resource res,
String charset,
boolean append)
|
static void |
IOUtil.merge(Resource in1,
Resource in2,
Resource out)
|
static byte[] |
IOUtil.toBytes(Resource res)
|
static String |
IOUtil.toString(Resource file,
String charset)
reads String data from File |
static void |
IOUtil.write(Resource res,
byte[] barr)
|
static void |
IOUtil.write(Resource res,
String string,
String charset,
boolean append)
|
Constructors in railo.commons.io with parameters of type Resource | |
---|---|
SourceFileImpl(Resource root,
String realPath)
constructor of the class |
Uses of Resource in railo.commons.io.compress |
---|
Methods in railo.commons.io.compress with parameters of type Resource | |
---|---|
static void |
ZipUtil.unzip(Resource zip,
Resource dir)
|
Uses of Resource in railo.commons.io.ini |
---|
Methods in railo.commons.io.ini with parameters of type Resource | |
---|---|
static Struct |
IniFile.getProfileSections(Resource file)
|
Constructors in railo.commons.io.ini with parameters of type Resource | |
---|---|
IniFile(Resource file)
Constructor for the IniFile object |
Uses of Resource in railo.commons.io.log |
---|
Methods in railo.commons.io.log that return Resource | |
---|---|
Resource |
LogResource.getResource()
|
Constructors in railo.commons.io.log with parameters of type Resource | |
---|---|
LogResource(Resource res,
int logLevel,
String charset)
Constructor of the Logger |
|
LogResource(Resource res,
long maxFileSize,
int maxFiles,
int logLevel,
String charset)
Constructor of the Logger |
|
LogResource(Resource res,
long maxFileSize,
int logLevel,
String charset)
Constructor of the Logger |
Uses of Resource in railo.commons.io.res |
---|
Methods in railo.commons.io.res that return Resource | |
---|---|
Resource |
Resource.getAbsoluteResource()
Returns the absolute form of this abstract pathname. |
Resource |
Resource.getCanonicalResource()
Returns the canonical form of this abstract pathname. |
Resource |
Resource.getParentResource()
Returns the abstract pathname of this abstract pathname's parent, or null if this pathname does not name a parent
directory. |
Resource |
Resource.getRealResource(String realpath)
returns a resource that is relative to the current resource |
Resource |
ResourcesImpl.getResource(String path)
returns a resource that matching the given path |
Resource |
Resources.getResource(String path)
returns a resource that matching the given path |
Resource |
ResourceProvider.getResource(String path)
return a resource that match given path |
Resource[] |
Resource.listResources()
Returns an array of abstract pathnames denoting the files in the directory denoted by this abstract pathname. |
Resource[] |
Resource.listResources(ResourceFilter filter)
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter. |
Resource[] |
Resource.listResources(ResourceNameFilter filter)
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter. |
Methods in railo.commons.io.res with parameters of type Resource | |
---|---|
void |
Resource.copyFrom(Resource res,
boolean append)
copy data of given resource to current |
void |
Resource.copyTo(Resource res,
boolean append)
copy current resource data to given resource |
void |
ResourceProvider.lock(Resource res)
|
void |
ResourceLock.lock(Resource res)
|
void |
Resource.moveTo(Resource dest)
Move/renames the file denoted by this abstract pathname. |
void |
ResourceProvider.read(Resource res)
|
void |
ResourceLock.read(Resource res)
|
boolean |
Resource.renameTo(Resource dest)
Deprecated. use instead #moveTo(Resource) |
void |
ResourceProvider.unlock(Resource res)
|
void |
ResourceLock.unlock(Resource res)
|
Uses of Resource in railo.commons.io.res.filter |
---|
Methods in railo.commons.io.res.filter with parameters of type Resource | |
---|---|
boolean |
AndResourceFilter.accept(Resource f)
|
boolean |
DirectoryResourceFilter.accept(Resource pathname)
|
boolean |
OrResourceFilter.accept(Resource f)
|
boolean |
NotResourceFilter.accept(Resource f)
|
boolean |
FileResourceFilter.accept(Resource pathname)
|
boolean |
ExtensionResourceFilter.accept(Resource res)
|
boolean |
ResourceFilter.accept(Resource res)
|
boolean |
ResourceNameFilter.accept(Resource parent,
String name)
|
Uses of Resource in railo.commons.io.res.type.cache |
---|
Classes in railo.commons.io.res.type.cache that implement Resource | |
---|---|
class |
CacheResource
a ram resource |
Methods in railo.commons.io.res.type.cache that return Resource | |
---|---|
Resource |
CacheResource.getParentResource()
|
Resource |
CacheResource.getRealResource(String realpath)
|
Resource |
CacheResourceProvider.getResource(String path)
|
Resource[] |
CacheResource.listResources()
|
Methods in railo.commons.io.res.type.cache with parameters of type Resource | |
---|---|
void |
CacheResourceProvider.lock(Resource res)
|
void |
CacheResourceProvider.read(Resource res)
|
void |
CacheResourceProvider.unlock(Resource res)
|
Uses of Resource in railo.commons.io.res.type.compress |
---|
Classes in railo.commons.io.res.type.compress that implement Resource | |
---|---|
class |
CompressResource
|
Methods in railo.commons.io.res.type.compress that return Resource | |
---|---|
Resource |
Compress.getCompressFile()
|
Resource |
CompressResource.getParentResource()
|
Resource |
Compress.getRamProviderResource(String path)
|
Resource |
CompressResource.getRealResource(String realpath)
|
Resource |
CompressResourceProvider.getResource(String path)
|
Resource[] |
CompressResource.listResources()
|
Methods in railo.commons.io.res.type.compress with parameters of type Resource | |
---|---|
abstract Compress |
CompressResourceProvider.getCompress(Resource file)
|
static Compress |
Compress.getInstance(Resource zipFile,
int format,
boolean caseSensitive)
return zip instance matching the zipfile, singelton isnatce only 1 zip for one file |
void |
CompressResourceProvider.lock(Resource res)
|
void |
CompressResourceProvider.read(Resource res)
|
void |
CompressResourceProvider.unlock(Resource res)
|
Constructors in railo.commons.io.res.type.compress with parameters of type Resource | |
---|---|
Compress(Resource file,
int format,
boolean caseSensitive)
private Constructor of the class, will be invoked be getInstance |
Uses of Resource in railo.commons.io.res.type.datasource |
---|
Classes in railo.commons.io.res.type.datasource that implement Resource | |
---|---|
class |
DatasourceResource
|
Methods in railo.commons.io.res.type.datasource that return Resource | |
---|---|
Resource |
DatasourceResource.getParentResource()
|
Resource |
DatasourceResource.getRealResource(String realpath)
|
Resource |
DatasourceResourceProvider.getResource(String path)
|
Resource[] |
DatasourceResource.listResources()
|
Methods in railo.commons.io.res.type.datasource with parameters of type Resource | |
---|---|
void |
DatasourceResourceProvider.lock(Resource res)
|
void |
DatasourceResource.moveTo(Resource dest)
|
void |
DatasourceResourceProvider.read(Resource res)
|
void |
DatasourceResourceProvider.unlock(Resource res)
|
Uses of Resource in railo.commons.io.res.type.file |
---|
Classes in railo.commons.io.res.type.file that implement Resource | |
---|---|
class |
FileResource
Implementation og Resource for the local filesystem (java.io.File) |
Methods in railo.commons.io.res.type.file that return Resource | |
---|---|
Resource |
FileResource.getAbsoluteResource()
|
Resource |
FileResource.getCanonicalResource()
|
Resource |
FileResource.getParentResource()
|
Resource |
FileResource.getRealResource(String realpath)
|
Resource |
FileResourceProvider.getResource(String path)
|
Resource[] |
FileResource.listResources()
|
Resource[] |
FileResource.listResources(ResourceFilter filter)
|
Resource[] |
FileResource.listResources(ResourceNameFilter filter)
|
Methods in railo.commons.io.res.type.file with parameters of type Resource | |
---|---|
void |
FileResource.copyFrom(Resource res,
boolean append)
|
void |
FileResource.copyTo(Resource res,
boolean append)
|
void |
FileResourceProvider.lock(Resource res)
|
void |
FileResource.moveTo(Resource dest)
|
void |
FileResourceProvider.read(Resource res)
|
boolean |
FileResource.renameTo(Resource dest)
|
void |
FileResourceProvider.unlock(Resource res)
|
Uses of Resource in railo.commons.io.res.type.ftp |
---|
Classes in railo.commons.io.res.type.ftp that implement Resource | |
---|---|
class |
FTPResource
|
Methods in railo.commons.io.res.type.ftp that return Resource | |
---|---|
Resource |
FTPResource.getParentResource()
|
Resource |
FTPResource.getRealResource(String realpath)
|
Resource |
FTPResourceProvider.getResource(String path)
path must have the following format: ftp://[ username[: password]@] hostname[: port][ absolute-path] |
Resource[] |
FTPResource.listResources()
|
Methods in railo.commons.io.res.type.ftp with parameters of type Resource | |
---|---|
void |
FTPResourceProvider.lock(Resource res)
|
void |
FTPResource.moveTo(Resource dest)
|
void |
FTPResourceProvider.read(Resource res)
|
void |
FTPResourceProvider.unlock(Resource res)
|
Constructors in railo.commons.io.res.type.ftp with parameters of type Resource | |
---|---|
FTPResourceOutputStream(FTPResourceClient client,
Resource res,
OutputStream os)
Constructor of the class |
Uses of Resource in railo.commons.io.res.type.http |
---|
Classes in railo.commons.io.res.type.http that implement Resource | |
---|---|
class |
HTTPResource
|
Methods in railo.commons.io.res.type.http that return Resource | |
---|---|
Resource |
HTTPResource.getParentResource()
|
Resource |
HTTPResource.getRealResource(String realpath)
|
Resource |
HTTPResourceProvider.getResource(String path)
|
Resource[] |
HTTPResource.listResources()
|
Methods in railo.commons.io.res.type.http with parameters of type Resource | |
---|---|
void |
HTTPResourceProvider.lock(Resource res)
|
void |
HTTPResourceProvider.read(Resource res)
|
void |
HTTPResourceProvider.unlock(Resource res)
|
Uses of Resource in railo.commons.io.res.type.ram |
---|
Classes in railo.commons.io.res.type.ram that implement Resource | |
---|---|
class |
RamResource
a ram resource |
Methods in railo.commons.io.res.type.ram that return Resource | |
---|---|
Resource |
RamResource.getParentResource()
|
Resource |
RamResource.getRealResource(String realpath)
|
Resource |
RamResourceProviderOld.getResource(String path)
|
Resource[] |
RamResource.listResources()
|
Methods in railo.commons.io.res.type.ram with parameters of type Resource | |
---|---|
void |
RamResourceProviderOld.lock(Resource res)
|
void |
RamResourceProviderOld.read(Resource res)
|
void |
RamResourceProviderOld.unlock(Resource res)
|
Uses of Resource in railo.commons.io.res.type.s3 |
---|
Classes in railo.commons.io.res.type.s3 that implement Resource | |
---|---|
class |
S3Resource
|
Methods in railo.commons.io.res.type.s3 that return Resource | |
---|---|
Resource |
S3Resource.getParentResource()
|
Resource |
S3Resource.getRealResource(String realpath)
|
Resource |
S3ResourceProvider.getResource(String path)
|
static Resource |
TemporaryStream.getTempDirectory()
|
Resource[] |
S3Resource.listResources()
|
Methods in railo.commons.io.res.type.s3 with parameters of type Resource | |
---|---|
void |
S3ResourceProvider.lock(Resource res)
|
void |
S3ResourceProvider.read(Resource res)
|
void |
S3ResourceProvider.unlock(Resource res)
|
Uses of Resource in railo.commons.io.res.type.tar |
---|
Methods in railo.commons.io.res.type.tar with parameters of type Resource | |
---|---|
Compress |
TarResourceProvider.getCompress(Resource file)
|
Uses of Resource in railo.commons.io.res.type.tgz |
---|
Methods in railo.commons.io.res.type.tgz with parameters of type Resource | |
---|---|
Compress |
TGZResourceProvider.getCompress(Resource file)
|
Uses of Resource in railo.commons.io.res.type.zip |
---|
Methods in railo.commons.io.res.type.zip with parameters of type Resource | |
---|---|
Compress |
ZipResourceProvider.getCompress(Resource file)
|
Uses of Resource in railo.commons.io.res.util |
---|
Classes in railo.commons.io.res.util that implement Resource | |
---|---|
class |
FileWrapper
|
class |
ReadOnlyResourceSupport
|
class |
ResourceSupport
Helper class to build resources |
Methods in railo.commons.io.res.util that return Resource | |
---|---|
static Resource |
ResourceUtil.changeExtension(Resource file,
String newExtension)
change extesnion of file and return new file |
Resource |
ResourceUtilImpl.createResource(Resource res,
short level,
short type)
|
static Resource |
ResourceUtil.createResource(Resource res,
short level,
short type)
create a file if possible, return file if ok, otherwise return null |
Resource |
ResourceSupport.getAbsoluteResource()
|
Resource |
FileWrapper.getAbsoluteResource()
|
Resource |
ResourceSupport.getCanonicalResource()
|
Resource |
FileWrapper.getCanonicalResource()
|
static Resource |
ResourceUtil.getCanonicalResourceEL(Resource res)
Returns the canonical form of this abstract pathname. |
Resource |
FileWrapper.getParentResource()
|
Resource |
FileWrapper.getRealResource(String realpath)
|
Resource |
ResourceInputStream.getResource()
|
Resource |
ResourceOutputStream.getResource()
|
static Resource |
ResourceUtil.getResource(PageContext pc,
PageSource ps)
|
static Resource |
ResourceUtil.getResource(PageContext pc,
PageSource ps,
Resource defaultValue)
|
Resource |
ResourceProviderWrapper.getResource(String path)
|
Resource[] |
ResourceClassLoader.getResources()
|
Resource[] |
FileWrapper.listResources()
|
static Resource[] |
ResourceUtil.listResources(Resource[] resources,
ResourceFilter filter)
list childrn of all given resources |
Resource[] |
ResourceSupport.listResources(ResourceFilter filter)
|
Resource[] |
FileWrapper.listResources(ResourceFilter filter)
|
Resource[] |
ResourceSupport.listResources(ResourceNameFilter filter)
|
Resource[] |
FileWrapper.listResources(ResourceNameFilter filter)
|
static Resource[] |
ResourceUtil.listResources(Resource res,
ResourceFilter filter)
|
static Resource |
ResourceUtil.toExactResource(Resource res)
transalte the path of the file to a existing file path by changing case of letters Works only on Linux, becasue Example Unix: we have a existing file with path "/usr/virtual/myFile.txt" now you call this method with path "/Usr/Virtual/myfile.txt" the result of the method will be "/usr/virtual/myFile.txt" if there are more file with rhe same name but different cases Example: /usr/virtual/myFile.txt /usr/virtual/myfile.txt /Usr/Virtual/myFile.txt the nearest case wil returned |
static Resource |
ResourceUtil.toResource(File file)
|
static Resource |
ResourceUtil.toResourceExisting(Config config,
String path)
|
Resource |
ResourceUtilImpl.toResourceExisting(PageContext pc,
String path)
|
static Resource |
ResourceUtil.toResourceExisting(PageContext pc,
String path)
cast a String (argumet destination) to a File Object, if destination is not a absolute, file object will be relative to current position (get from PageContext) file must exist otherwise throw exception |
static Resource |
ResourceUtil.toResourceExisting(PageContext pc,
String path,
boolean allowRealpath)
|
Resource |
ResourceUtilImpl.toResourceExistingParent(PageContext pc,
String destination)
|
static Resource |
ResourceUtil.toResourceExistingParent(PageContext pc,
String destination)
cast a String (argumet destination) to a File Object, if destination is not a absolute, file object will be relative to current position (get from PageContext) at least parent must exist |
static Resource |
ResourceUtil.toResourceExistingParent(PageContext pc,
String destination,
boolean allowRealpath)
|
static Resource |
ResourceUtil.toResourceNotExisting(Config config,
String path)
|
Resource |
ResourceUtilImpl.toResourceNotExisting(PageContext pc,
String destination)
|
static Resource |
ResourceUtil.toResourceNotExisting(PageContext pc,
String destination)
cast a String (argument destination) to a File Object, if destination is not a absolute, file object will be relative to current position (get from PageContext) existing file is prefered but dont must exist |
static Resource |
ResourceUtil.toResourceNotExisting(PageContext pc,
String destination,
boolean allowRealpath)
|
Methods in railo.commons.io.res.util with parameters of type Resource | |
---|---|
static void |
ResourceUtil._deleteContent(Resource src,
ResourceFilter filter,
boolean deleteDirectories)
|
boolean |
FileFilterWrapper.accept(Resource res)
|
boolean |
UDFFilter.accept(Resource file)
|
boolean |
WildCardFilter.accept(Resource file)
|
boolean |
FileNameFilterWrapper.accept(Resource dir,
String name)
|
boolean |
UDFFilter.accept(Resource parent,
String name)
|
boolean |
WildCardFilter.accept(Resource parent,
String name)
|
void |
ResourceClassLoaderFactory.addResources(Resource[] resources)
|
void |
ResourceClassLoader.addResources(Resource[] reses)
|
static boolean |
ResourceUtil.canRW(Resource res)
check if file is read and writable |
static Resource |
ResourceUtil.changeExtension(Resource file,
String newExtension)
change extesnion of file and return new file |
void |
ResourceUtilImpl.checkCopyToOK(Resource source,
Resource target)
|
static void |
ResourceUtil.checkCopyToOK(Resource source,
Resource target)
check if copying a file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtilImpl.checkCreateDirectoryOK(Resource resource,
boolean createParentWhenNotExists)
|
static void |
ResourceUtil.checkCreateDirectoryOK(Resource resource,
boolean createParentWhenNotExists)
check if directory creation is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtilImpl.checkCreateFileOK(Resource resource,
boolean createParentWhenNotExists)
|
static void |
ResourceUtil.checkCreateFileOK(Resource resource,
boolean createParentWhenNotExists)
check if file creating is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtilImpl.checkGetInputStreamOK(Resource resource)
|
static void |
ResourceUtil.checkGetInputStreamOK(Resource resource)
check if getting a inputstream of the file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtilImpl.checkGetOutputStreamOK(Resource resource)
|
static void |
ResourceUtil.checkGetOutputStreamOK(Resource resource)
check if getting a outputstream of the file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtilImpl.checkMoveToOK(Resource source,
Resource target)
|
static void |
ResourceUtil.checkMoveToOK(Resource source,
Resource target)
check if moveing a file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtilImpl.checkRemoveOK(Resource resource)
|
static void |
ResourceUtil.checkRemoveOK(Resource resource)
check if removing the file is ok with the rules for the Resource interface, to not change this rules. |
static void |
ResourceUtil.clear(Resource res)
|
static void |
ResourceUtil.copy(Resource src,
Resource trg)
|
void |
ResourceSupport.copyFrom(Resource res,
boolean append)
|
void |
FileWrapper.copyFrom(Resource res,
boolean append)
|
void |
ResourceUtilImpl.copyRecursive(Resource src,
Resource trg)
|
static void |
ResourceUtil.copyRecursive(Resource src,
Resource trg)
copy a file or directory recursive (with his content) |
void |
ResourceUtilImpl.copyRecursive(Resource src,
Resource trg,
ResourceFilter filter)
|
static void |
ResourceUtil.copyRecursive(Resource src,
Resource trg,
ResourceFilter filter)
copy a file or directory recursive (with his content) |
void |
ResourceSupport.copyTo(Resource res,
boolean append)
|
void |
FileWrapper.copyTo(Resource res,
boolean append)
|
static void |
ResourceUtil.createDirectoryEL(Resource res,
boolean force)
|
static void |
ResourceUtil.createFileEL(Resource res,
boolean force)
|
static boolean |
ResourceUtil.createNewResourceEL(Resource res)
creates a new File |
Resource |
ResourceUtilImpl.createResource(Resource res,
short level,
short type)
|
static Resource |
ResourceUtil.createResource(Resource res,
short level,
short type)
create a file if possible, return file if ok, otherwise return null |
static void |
ResourceUtil.deleteContent(Resource src,
ResourceFilter filter)
|
static void |
ResourceUtil.deleteEmptyFolders(Resource res)
|
static void |
ResourceUtil.deleteFileOlderThan(Resource res,
long date,
ExtensionResourceFilter filter)
|
static int |
ResourceUtil.directrySize(Resource dir,
ResourceFilter filter)
|
static int |
ResourceUtil.directrySize(Resource dir,
ResourceNameFilter filter)
|
static URL[] |
ResourceClassLoader.doURLs(Resource[] reses)
translate resources to url Objects |
static boolean |
ResourceUtil.exists(Resource res)
|
static String |
ResourceUtil.getCanonicalPathEL(Resource res)
Returns the canonical form of this abstract pathname. |
static Resource |
ResourceUtil.getCanonicalResourceEL(Resource res)
Returns the canonical form of this abstract pathname. |
static ContentType |
ResourceUtil.getContentType(Resource resource)
|
String |
ResourceUtilImpl.getExtension(Resource res)
|
static String |
ResourceUtil.getExtension(Resource res,
String defaultValue)
get the Extension of a file |
static String |
ResourceUtil.getMymeType(Resource res,
boolean alsoCheckExtension,
String defaultValue)
|
String |
ResourceUtilImpl.getMymeType(Resource res,
String defaultValue)
|
static String |
ResourceUtil.getMymeType(Resource res,
String defaultValue)
return the mime type of a file, dont check extension |
String |
ResourceUtilImpl.getPathToChild(Resource file,
Resource dir)
|
static String |
ResourceUtil.getPathToChild(Resource file,
Resource dir)
return diffrents of one file to a other if first is child of second otherwise return null |
static long |
ResourceUtil.getRealSize(Resource res)
return the size of the Resource, other than method length of Resource this mthod return the size of all files in a directory |
static long |
ResourceUtil.getRealSize(Resource res,
ResourceFilter filter)
return the size of the Resource, other than method length of Resource this mthod return the size of all files in a directory |
static Resource |
ResourceUtil.getResource(PageContext pc,
PageSource ps,
Resource defaultValue)
|
ResourceClassLoader |
ResourceClassLoaderFactory.getResourceClassLoader(Resource[] resources)
|
boolean |
ResourceUtilImpl.isChildOf(Resource file,
Resource dir)
|
static boolean |
ResourceUtil.isChildOf(Resource file,
Resource dir)
check if file is a child of given directory |
boolean |
ResourceUtilImpl.isEmpty(Resource res)
|
static boolean |
ResourceUtil.isEmpty(Resource res)
return if Resource is empty, means is directory and has no children or a empty file, if not exists return false. |
boolean |
ResourceUtilImpl.isEmptyDirectory(Resource res)
|
static boolean |
ResourceUtil.isEmptyDirectory(Resource res)
|
boolean |
ResourceUtilImpl.isEmptyFile(Resource res)
|
static boolean |
ResourceUtil.isEmptyFile(Resource res)
|
static Resource[] |
ResourceUtil.listResources(Resource[] resources,
ResourceFilter filter)
list childrn of all given resources |
static Resource[] |
ResourceUtil.listResources(Resource res,
ResourceFilter filter)
|
void |
ResourceProviderWrapper.lock(Resource res)
|
void |
ResourceLockImpl.lock(Resource res)
|
void |
ResourceSupport.moveTo(Resource dest)
|
void |
FileWrapper.moveTo(Resource dest)
|
void |
ResourceUtilImpl.moveTo(Resource src,
Resource dest)
|
static void |
ResourceUtil.moveTo(Resource src,
Resource dest)
|
static String[] |
ResourceUtil.names(Resource[] resources)
|
void |
ResourceProviderWrapper.read(Resource res)
|
void |
ResourceLockImpl.read(Resource res)
|
void |
ResourceUtilImpl.removeChildren(Resource res)
|
static void |
ResourceUtil.removeChildren(Resource res)
|
void |
ResourceUtilImpl.removeChildren(Resource res,
ResourceFilter filter)
|
static void |
ResourceUtil.removeChildren(Resource res,
ResourceFilter filter)
|
void |
ResourceUtilImpl.removeChildren(Resource res,
ResourceNameFilter filter)
|
static void |
ResourceUtil.removeChildren(Resource res,
ResourceNameFilter filter)
|
static void |
ResourceUtil.removeChildrenEL(Resource res)
|
static void |
ResourceUtil.removeChildrenEL(Resource res,
ResourceFilter filter)
|
static void |
ResourceUtil.removeChildrenEL(Resource res,
ResourceNameFilter filter)
|
static void |
ResourceUtil.removeEL(Resource res,
boolean force)
|
boolean |
ResourceSupport.renameTo(Resource dest)
|
boolean |
FileWrapper.renameTo(Resource dest)
|
void |
ResourceUtilImpl.setAttribute(Resource res,
String attributes)
|
static void |
ResourceUtil.setAttribute(Resource res,
String attributes)
|
static Resource |
ResourceUtil.toExactResource(Resource res)
transalte the path of the file to a existing file path by changing case of letters Works only on Linux, becasue Example Unix: we have a existing file with path "/usr/virtual/myFile.txt" now you call this method with path "/Usr/Virtual/myfile.txt" the result of the method will be "/usr/virtual/myFile.txt" if there are more file with rhe same name but different cases Example: /usr/virtual/myFile.txt /usr/virtual/myfile.txt /Usr/Virtual/myFile.txt the nearest case wil returned |
static File |
FileWrapper.toFile(Resource res)
|
String |
ResourceUtilImpl.toString(Resource r,
String charset)
|
static void |
ResourceUtil.touch(Resource res)
similat to linux bash fuction toch, create file if not exists oherwise change last modified date |
void |
ResourceProviderWrapper.unlock(Resource res)
|
void |
ResourceLockImpl.unlock(Resource res)
|
Constructors in railo.commons.io.res.util with parameters of type Resource | |
---|---|
ModeObjectWrap(Resource res)
|
|
RCL(Resource[] files,
ClassLoader parent)
constructor of the class |
|
ResourceClassLoader(Resource[] resources,
ClassLoader parent)
Constructor of the class |
|
ResourceInputStream(Resource res,
InputStream is)
|
|
ResourceOutputStream(Resource res,
OutputStream os)
Constructor of the class |
Uses of Resource in railo.commons.lang |
---|
Methods in railo.commons.lang that return Resource | |
---|---|
Resource |
PhysicalClassLoader._getResource(String name)
returns matching File Object or null if file not exust |
Resource |
PCLBlock._getResource(String name)
returns matching File Object or null if file not exust |
Resource |
PhysicalClassLoader.getDirectory()
|
Resource |
PCLBlock.getDirectory()
|
Methods in railo.commons.lang with parameters of type Resource | |
---|---|
static byte[] |
MD5Hash.getHash(Resource f)
Gets the MD5 hash of the given file. |
static String |
MD5Hash.getHashString(Resource f)
Gets the MD5 hash of the given file. |
static long |
PhysicalClassLoader.lastModified(Resource res,
long defaultValue)
|
static long |
PCLBlock.lastModified(Resource res,
long defaultValue)
|
Constructors in railo.commons.lang with parameters of type Resource | |
---|---|
ArchiveClassLoader(Resource file,
ClassLoader parent)
constructor of the class |
|
PCLBlock(Resource directory,
ClassLoader parent)
Constructor of the class |
|
PCLCollection(MappingImpl mapping,
Resource directory,
ClassLoader parent,
int maxBlockSize)
Constructor of the class |
|
PhysicalClassLoader(Resource directory,
ClassLoader parent)
Constructor of the class |
Uses of Resource in railo.commons.net |
---|
Methods in railo.commons.net that return Resource | |
---|---|
static Resource[] |
JarLoader.download(PageContext pc,
String[] jars)
|
Resource |
ResourcePart.getResource()
|
Resource |
ResourcePartSource.getResource()
|
Constructors in railo.commons.net with parameters of type Resource | |
---|---|
ResourcePartSource(Resource res)
Constructor of the class |
|
ResourcePartSource(String fileName,
Resource file)
Constructor for FilePartSource. |
|
ResourceRequestEntity(Resource res,
String contentType)
|
Uses of Resource in railo.commons.pdf |
---|
Methods in railo.commons.pdf with parameters of type Resource | |
---|---|
void |
PDFDocument.setSrcfile(Resource srcfile)
|
Uses of Resource in railo.commons.res.io.filter |
---|
Methods in railo.commons.res.io.filter with parameters of type Resource | |
---|---|
boolean |
AndFileFilter.accept(Resource res)
|
Uses of Resource in railo.deployer.filter |
---|
Methods in railo.deployer.filter with parameters of type Resource | |
---|---|
boolean |
Filter.isValid(Resource res)
Gibt zur�ck ob die eingegebene Datei eine CFML Datei ist oder nicht. |
boolean |
CFMLFilter.isValid(Resource file)
|
Uses of Resource in railo.loader.util |
---|
Methods in railo.loader.util with parameters of type Resource | |
---|---|
static void |
Util.copy(Resource in,
Resource out)
|
Uses of Resource in railo.runtime |
---|
Methods in railo.runtime that return Resource | |
---|---|
Resource |
MappingImpl.getArchive()
|
Resource |
Mapping.getArchive()
|
Resource |
PageSourceImpl.getArchiveFile()
|
Resource |
MappingImpl.getClassRootDirectory()
|
Resource |
Mapping.getClassRootDirectory()
|
Resource |
PageSourceImpl.getFile()
|
Resource |
SourceFile.getFile()
return file object, based on sourcefile |
Resource |
PageSourceImpl.getPhyscalFile()
return file object, based on physical path and realpath |
Resource |
SourceFile.getPhyscalFile()
return file object, based on physical path and realpath |
Resource |
MappingImpl.getPhysical()
|
Resource |
Mapping.getPhysical()
|
Resource |
PageContextImpl.getPhysical(String realPath,
boolean alsoDefaultMapping)
|
abstract Resource |
PageContext.getPhysical(String realPath,
boolean alsoDefaultMapping)
get Resource of the first Mapping that match the given realPath |
Resource |
PageContextImpl.getRootTemplateDirectory()
|
abstract Resource |
PageContext.getRootTemplateDirectory()
|
Methods in railo.runtime with parameters of type Resource | |
---|---|
PageSource |
PageContextImpl.toPageSource(Resource res,
PageSource defaultValue)
|
abstract PageSource |
PageContext.toPageSource(Resource res,
PageSource defaultValue)
|
Uses of Resource in railo.runtime.cache.legacy |
---|
Methods in railo.runtime.cache.legacy that return Resource | |
---|---|
Resource |
CacheWriter.getCacheFile()
|
Methods in railo.runtime.cache.legacy with parameters of type Resource | |
---|---|
static void |
CacheItem.flush(PageContext pc,
Resource dir,
String cacheName,
String expireurl)
|
static void |
CacheItem.flushAll(PageContext pc,
Resource dir,
String cacheName)
|
static CacheItem |
CacheItem.getInstance(PageContext pc,
String id,
String key,
boolean useId,
Resource dir,
String cacheName,
TimeSpan timespan)
|
static MetaData |
MetaData.getInstance(Resource directory)
|
void |
CacheWriter.setCacheFile(Resource cacheFile)
|
Constructors in railo.runtime.cache.legacy with parameters of type Resource | |
---|---|
CacheWriter(Writer out,
Resource cacheFile)
|
|
MetaData(Resource file,
HashMap<String,String> data)
|
Uses of Resource in railo.runtime.compiler |
---|
Methods in railo.runtime.compiler with parameters of type Resource | |
---|---|
byte[] |
CFMLCompilerImpl.compile(ConfigImpl config,
PageSource source,
TagLib[] tld,
FunctionLib[] fld,
Resource classRootDir,
String className)
|
byte[] |
CFMLCompiler.compile(ConfigImpl config,
PageSource source,
TagLib[] tld,
FunctionLib[] fld,
Resource classRootDir,
String className)
compiles a cold fusion source file |
Uses of Resource in railo.runtime.config |
---|
Methods in railo.runtime.config that return Resource | |
---|---|
Resource |
ConfigImpl.getCacheDir()
|
Resource |
Config.getCacheDir()
|
Resource |
ConfigImpl.getClientScopeDir()
|
Resource |
Config.getClientScopeDir()
|
Resource |
ConfigImpl.getConfigDir()
|
Resource |
Config.getConfigDir()
|
Resource |
ConfigImpl.getConfigFile()
|
Resource |
Config.getConfigFile()
|
Resource |
ConfigServerImpl.getConfigServerDir()
|
abstract Resource |
ConfigImpl.getConfigServerDir()
|
Resource |
ConfigWebImpl.getConfigServerDir()
|
Resource |
ConfigImpl.getDeployDirectory()
|
Resource |
Config.getDeployDirectory()
return directory, where railo deploy translated cfml classes (java and class files) |
static Resource |
ConfigWebUtil.getExistingResource(javax.servlet.ServletContext sc,
String strDir,
String defaultDir,
Resource configDir,
short type,
ConfigImpl config)
get only a existing file, dont create it |
Resource |
ConfigImpl.getExtensionDirectory()
|
Resource |
Config.getExtensionDirectory()
|
static Resource |
ConfigWebUtil.getFile(Config config,
Resource directory,
String path,
short type)
touch a file object by the string definition |
static Resource |
ConfigWebUtil.getFile(Resource file,
short type)
|
Resource |
ConfigImpl.getFldFile()
|
Resource |
Config.getFldFile()
|
Resource |
ConfigImpl.getPhysical(Mapping[] mappings,
String realPath,
boolean alsoDefaultMapping)
|
Resource |
Config.getPhysical(Mapping[] mappings,
String realPath,
boolean alsoDefaultMapping)
get Resource of the first Mapping that match the given criteria |
Resource |
ConfigImpl.getPhysicalResourceExisting(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
|
Resource[] |
ConfigImpl.getPhysicalResources(PageContext pc,
Mapping[] mappings,
String realPath,
boolean onlyTopLevel,
boolean useSpecialMappings,
boolean useDefaultMapping)
|
Resource |
ConfigImpl.getRemoteClientDirectory()
|
Resource |
Config.getRemoteClientDirectory()
|
Resource |
ConfigImpl.getResource(String path)
|
Resource |
Config.getResource(String path)
|
Resource |
ConfigServerImpl.getRootDirectory()
|
abstract Resource |
ConfigImpl.getRootDirectory()
|
Resource |
ConfigWebImpl.getRootDirectory()
|
Resource |
Config.getRootDirectory()
|
Resource |
ConfigWebImpl.getServerConfigDir()
|
Resource |
ConfigImpl.getSessionScopeDir()
|
Resource |
ConfigImpl.getTagDirectory()
|
Resource |
ConfigImpl.getTempDirectory()
|
Resource |
Config.getTempDirectory()
return the temp directory |
Resource |
ConfigImpl.getTldFile()
|
Resource |
Config.getTldFile()
|
Resource |
ConfigImpl.getVideoDirectory()
|
Resource |
Config.getVideoDirectory()
|
Methods in railo.runtime.config with parameters of type Resource | |
---|---|
static void |
ConfigServerFactory.createContextFiles(Resource configDir,
ConfigServer config,
boolean doNew)
|
static void |
ConfigWebFactory.createContextFiles(Resource configDir,
javax.servlet.ServletConfig servletConfig,
boolean doNew)
Creates all files for Railo Context |
static void |
ConfigWebFactory.createContextFilesPost(Resource configDir,
ConfigImpl config,
javax.servlet.ServletConfig servletConfig,
boolean isEventGatewayContext,
boolean doNew)
|
static void |
ConfigWebFactory.createFileFromResourceEL(String resource,
Resource file)
|
static void |
ConfigWebFactory.createHtAccess(Resource htAccess)
|
static String |
ConfigWebUtil.createMD5FromResource(Resource resource)
|
ClassLoader |
ConfigImpl.getClassLoader(Resource[] reses)
|
Compress |
ConfigImpl.getCompressInstance(Resource zipFile,
int format,
boolean caseSensitive)
|
static Resource |
ConfigWebUtil.getExistingResource(javax.servlet.ServletContext sc,
String strDir,
String defaultDir,
Resource configDir,
short type,
ConfigImpl config)
get only a existing file, dont create it |
static Resource |
ConfigWebUtil.getFile(Config config,
Resource directory,
String path,
short type)
touch a file object by the string definition |
static Resource |
ConfigWebUtil.getFile(Resource file,
short type)
|
static boolean |
ConfigWebUtil.isDirectory(Resource directory)
checks if file is a directory or not, if directory dosent exists, it will be created |
static boolean |
ConfigWebUtil.isFile(Resource file)
checks if file is a file or not, if file dosent exists, it will be created |
static ConfigServerImpl |
ConfigServerFactory.newInstance(CFMLEngineImpl engine,
Map initContextes,
Map contextes,
Resource configDir)
creates a new ServletConfig Impl Object |
static ConfigWebImpl |
ConfigWebFactory.newInstance(CFMLFactoryImpl factory,
ConfigServerImpl configServer,
Resource configDir,
javax.servlet.ServletConfig servletConfig)
creates a new ServletConfig Impl Object |
PageSource |
ConfigImpl.toPageSource(Mapping[] mappings,
Resource res,
PageSource defaultValue)
|
void |
ConfigWebAdmin.updateDefaultSecurity(short setting,
short file,
Resource[] fileAccess,
short directJavaAccess,
short mail,
short datasource,
short mapping,
short remote,
short customTag,
short cfxSetting,
short cfxUsage,
short debugging,
short search,
short scheduledTasks,
short tagExecute,
short tagImport,
short tagObject,
short tagRegistry,
short cache,
short gateway,
short orm,
short accessRead,
short accessWrite)
|
void |
ConfigWebAdmin.updateFLD(Resource resFld)
|
void |
ConfigWebAdmin.updateJar(Resource resJar)
|
void |
ConfigWebAdmin.updateLD(Resource dir,
Resource res)
|
void |
ConfigWebAdmin.updateSecurity(String id,
short setting,
short file,
Resource[] fileAccess,
short directJavaAccess,
short mail,
short datasource,
short mapping,
short remote,
short customTag,
short cfxSetting,
short cfxUsage,
short debugging,
short search,
short scheduledTasks,
short tagExecute,
short tagImport,
short tagObject,
short tagRegistry,
short cache,
short gateway,
short orm,
short accessRead,
short accessWrite)
update a security manager that match the given id |
void |
ConfigWebAdmin.updateTLD(Resource resTld)
|
Constructors in railo.runtime.config with parameters of type Resource | |
---|---|
ConfigImpl(CFMLFactory factory,
Resource configDir,
Resource configFile,
TagLib[] tlds,
FunctionLib[] flds)
|
Uses of Resource in railo.runtime.config.ajax |
---|
Methods in railo.runtime.config.ajax with parameters of type Resource | |
---|---|
static void |
AjaxFactory.deployFunctions(Resource dir,
boolean doNew)
this method deploy all ajax functions to the railo enviroment and the helper files |
static void |
AjaxFactory.deployTags(Resource dir,
boolean doNew)
this functions deploy all ajax tags to the railo enviroment and the helper files |
Uses of Resource in railo.runtime.config.component |
---|
Methods in railo.runtime.config.component with parameters of type Resource | |
---|---|
static void |
ComponentFactory.deploy(Resource dir,
boolean doNew)
this method deploy all components for org.railo.cfml |
Uses of Resource in railo.runtime.converter |
---|
Methods in railo.runtime.converter with parameters of type Resource | |
---|---|
static Object |
JavaConverter.deserialize(Resource res)
|
static void |
JavaConverter.serialize(Serializable o,
Resource out)
|
Uses of Resource in railo.runtime.debug |
---|
Methods in railo.runtime.debug that return Resource | |
---|---|
Resource |
DebugPageImpl.getFile()
|
Resource |
DebugPage.getFile()
return file represetati9on of the debug page |
Constructors in railo.runtime.debug with parameters of type Resource | |
---|---|
DebugPageImpl(Resource file)
|
Uses of Resource in railo.runtime.functions.file |
---|
Methods in railo.runtime.functions.file that return Resource | |
---|---|
Resource |
FileStreamWrapper.getResource()
|
Constructors in railo.runtime.functions.file with parameters of type Resource | |
---|---|
FileStreamWrapper(Resource res)
|
|
FileStreamWrapperRead(Resource res,
String charset,
boolean seekable)
Constructor of the class |
|
FileStreamWrapperReadBinary(Resource res,
boolean seekable)
Constructor of the class |
|
FileStreamWrapperReadWrite(Resource res,
String charset,
boolean seekable)
|
|
FileStreamWrapperWrite(Resource res,
String charset,
boolean append,
boolean seekable)
|
Uses of Resource in railo.runtime.helpers |
---|
Methods in railo.runtime.helpers with parameters of type Resource | |
---|---|
void |
XMLEventParser.start(Resource xmlFile)
start execution of the parser |
void |
XMLEventParser.start(Resource xmlFile,
String saxParserCass)
start execution of the parser |
Uses of Resource in railo.runtime.img |
---|
Methods in railo.runtime.img that return Resource | |
---|---|
Resource |
Image.getSource()
|
Methods in railo.runtime.img with parameters of type Resource | |
---|---|
static void |
ImageMetaDrew.addInfo(String format,
Resource res,
Struct info)
adds information about a image to the given struct |
static void |
ImageMeta.addInfo(String format,
Resource res,
Struct info)
adds information about a image to the given struct |
static String |
ImageUtil.getFormat(Resource res)
|
static String |
ImageUtil.getFormatFromExtension(Resource res,
String defaultValue)
|
static BufferedImage |
JAIUtil.read(Resource res)
|
static BufferedImage |
ImageUtil.toBufferedImage(Resource res,
String format)
translate a file resource to a buffered image |
static void |
JAIUtil.write(BufferedImage img,
Resource res,
String format)
|
String |
Image.writeBase64(Resource destination,
String format,
boolean inHTMLFormat)
|
void |
Image.writeOut(Resource destination,
boolean overwrite,
float quality)
|
void |
Image.writeOut(Resource destination,
String format,
boolean overwrite,
float quality)
|
Constructors in railo.runtime.img with parameters of type Resource | |
---|---|
Image(Resource res)
|
|
ResourceImageOutputStream(Resource res)
|
Uses of Resource in railo.runtime.img.coder |
---|
Methods in railo.runtime.img.coder with parameters of type Resource | |
---|---|
abstract BufferedImage |
Coder.toBufferedImage(Resource res,
String format)
translate a file resource to a buffered image |
Uses of Resource in railo.runtime.listener |
---|
Methods in railo.runtime.listener that return Resource | |
---|---|
Resource |
ModernApplicationContext.getSource()
|
Resource |
ApplicationContextPro.getSource()
|
Resource |
ClassicApplicationContext.getSource()
|
Constructors in railo.runtime.listener with parameters of type Resource | |
---|---|
ClassicApplicationContext(Config config,
String name,
boolean isDefault,
Resource source)
constructor of the class |
Uses of Resource in railo.runtime.net.http |
---|
Methods in railo.runtime.net.http that return Resource | |
---|---|
Resource |
ServletContextDummy.getRealResource(String realpath)
|
Methods in railo.runtime.net.http with parameters of type Resource | |
---|---|
static HttpServletRequestDummy |
HttpServletRequestDummy.clone(Config config,
Resource rootDirectory,
javax.servlet.http.HttpServletRequest req)
|
Constructors in railo.runtime.net.http with parameters of type Resource | |
---|---|
CertificateInstaller(Resource source,
String host,
int port)
|
|
CertificateInstaller(Resource source,
String host,
int port,
char[] passphrase)
|
|
HttpServletRequestDummy(Resource contextRoot,
String serverName,
String scriptName,
String queryString,
javax.servlet.http.Cookie[] cookies,
Pair[] headers,
Pair[] parameters,
Struct attributes,
javax.servlet.http.HttpSession session)
constructor of the class |
|
ServletContextDummy(Config config,
Resource root,
Struct attributes,
Struct parameters,
int majorVersion,
int minorVersion)
|
Uses of Resource in railo.runtime.net.mail |
---|
Methods in railo.runtime.net.mail with parameters of type Resource | |
---|---|
void |
MailClient.setAttachmentDirectory(Resource attachmentDirectory)
|
Uses of Resource in railo.runtime.net.smtp |
---|
Methods in railo.runtime.net.smtp with parameters of type Resource | |
---|---|
void |
SMTPClient.addAttachment(Resource file)
|
void |
SMTPClient.addAttachment(Resource resource,
String type,
String disposition,
String contentID,
boolean removeAfterSend)
|
Constructors in railo.runtime.net.smtp with parameters of type Resource | |
---|---|
Attachment(Resource resource,
String type,
String disposition,
String contentID,
boolean removeAfterSend)
|
Uses of Resource in railo.runtime.op |
---|
Methods in railo.runtime.op that return Resource | |
---|---|
Resource |
CreationImpl.createResource(String path,
boolean existing)
|
static Resource |
Caster.toResource(Config config,
Object src,
boolean existing)
|
static Resource |
Caster.toResource(Object src)
|
Resource |
CastImpl.toResource(Object obj)
|
static Resource |
Caster.toResource(Object src,
boolean existing)
|
Resource |
CastImpl.toResource(Object obj,
Resource defaultValue)
|
static Resource |
Caster.toResource(PageContext pc,
Object src,
boolean existing)
|
static Resource |
Caster.toResource(PageContext pc,
Object src,
boolean existing,
boolean allowRealpath)
|
Methods in railo.runtime.op with parameters of type Resource | |
---|---|
Document |
CreationImpl.createDocument(Resource res,
boolean isHTML)
|
Resource |
CastImpl.toResource(Object obj,
Resource defaultValue)
|
Uses of Resource in railo.runtime.orm |
---|
Methods in railo.runtime.orm that return Resource | |
---|---|
Resource |
ORMConfiguration.getCacheConfig()
|
Resource[] |
ORMConfiguration.getCfcLocations()
|
Resource |
ORMConfiguration.getOrmConfig()
|
Resource |
ORMConfiguration.getSqlScript()
|
Methods in railo.runtime.orm with parameters of type Resource | |
---|---|
static ORMConfiguration |
ORMConfiguration.load(Config config,
ApplicationContextPro ac,
Element el,
Resource defaultCFCLocation,
ORMConfiguration defaultConfig)
|
static ORMConfiguration |
ORMConfiguration.load(Config config,
ApplicationContextPro ac,
Struct settings,
Resource defaultCFCLocation,
ORMConfiguration defaultConfig)
|
Uses of Resource in railo.runtime.orm.hibernate |
---|
Methods in railo.runtime.orm.hibernate with parameters of type Resource | |
---|---|
static Mapping[] |
HibernateSessionFactory.createMappings(PageContext pc,
Resource[] resources)
|
Uses of Resource in railo.runtime.schedule |
---|
Methods in railo.runtime.schedule that return Resource | |
---|---|
Resource |
ScheduleTaskImpl.getResource()
|
Resource |
ScheduleTask.getResource()
|
Resource |
StorageUtil.toResource(Config config,
Element el,
String attributeName)
reads a XML Element Attribute ans cast it to a File |
Methods in railo.runtime.schedule with parameters of type Resource | |
---|---|
Document |
StorageUtil.loadDocument(Resource file)
load a XML Document as DOM representation |
void |
StorageUtil.loadFile(Resource res,
String resourcePath)
create xml file from a resource definition |
void |
StorageUtil.setFile(Element el,
String key,
Resource value)
sets a file value to a XML Element |
void |
StorageUtil.store(Document doc,
Resource res)
store loaded data to xml file |
Constructors in railo.runtime.schedule with parameters of type Resource | |
---|---|
SchedulerImpl(CFMLEngine engine,
Config config,
Resource schedulerDir,
LogAndSource log,
String charset)
constructor of the sheduler |
|
ScheduleTaskImpl(String task,
Resource file,
Date startDate,
Time startTime,
Date endDate,
Time endTime,
String url,
int port,
String interval,
long timeout,
org.apache.commons.httpclient.Credentials credentials,
String proxyHost,
int proxyPort,
org.apache.commons.httpclient.Credentials proxyCredentials,
boolean resolveURL,
boolean publish,
boolean hidden,
boolean readonly,
boolean paused,
boolean autoDelete)
constructor of the class |
Uses of Resource in railo.runtime.search |
---|
Methods in railo.runtime.search that return Resource | |
---|---|
Resource |
SearchEngineSupport.getDirectory()
|
Resource |
SearchEngine.getDirectory()
|
Resource |
SearchCollectionSupport.getPath()
|
Resource |
SearchCollectionSupport2.getPath()
|
Resource |
SearchCollection.getPath()
|
Methods in railo.runtime.search with parameters of type Resource | |
---|---|
SearchCollection |
SearchEngineSupport.createCollection(String name,
Resource path,
String language,
boolean allowOverwrite)
|
SearchCollection |
SearchEngine.createCollection(String name,
Resource path,
String language,
boolean allowOverwrite)
Creates a new Collection and Store it (creating always a spellindex) |
IndexResult |
SearchCollectionSupport2.indexFile(SearchIndex si,
Resource file)
|
IndexResult |
SearchCollectionSupport.indexFile(String id,
String title,
Resource res,
String language)
|
IndexResult |
SearchCollectionSupport2.indexFile(String id,
String title,
Resource res,
String language)
|
IndexResult |
SearchCollection.indexFile(String id,
String title,
Resource file,
String language)
updates a collection with a file |
IndexResult |
SearchCollectionSupport2.indexPath(SearchIndex si,
Resource dir,
boolean recurse)
|
IndexResult |
SearchCollectionSupport.indexPath(String id,
String title,
Resource dir,
String[] extensions,
boolean recurse,
String language)
|
IndexResult |
SearchCollectionSupport2.indexPath(String id,
String title,
Resource dir,
String[] extensions,
boolean recurse,
String language)
|
IndexResult |
SearchCollection.indexPath(String id,
String title,
Resource dir,
String[] extensions,
boolean recurse,
String language)
updates a collection with a path |
void |
SearchEngineSupport.init(Config config,
Resource searchDir,
LogAndSource log)
|
void |
SearchEngine.init(Config config,
Resource searchDir,
LogAndSource log)
constructor of the class |
void |
SearchCollectionSupport.map(Resource path)
|
void |
SearchCollectionSupport2.map(Resource path)
|
void |
SearchCollection.map(Resource path)
map a Collection |
Constructors in railo.runtime.search with parameters of type Resource | |
---|---|
SearchCollectionSupport(SearchEngineSupport searchEngine,
String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created)
constructor of the class |
|
SearchCollectionSupport2(SearchEngineSupport searchEngine,
String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created)
constructor of the class |
Uses of Resource in railo.runtime.search.lucene2 |
---|
Methods in railo.runtime.search.lucene2 with parameters of type Resource | |
---|---|
SearchCollection |
LuceneSearchEngine._createCollection(String name,
Resource path,
String language)
|
SearchCollection |
LuceneSearchEngine._readCollection(String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created)
|
boolean |
LuceneExtensionFileFilter.accept(Resource res)
|
boolean |
LuceneSearchCollection.SpellDirFilter.accept(Resource parent,
String name)
filter all names with the following pattern [ |
static org.apache.lucene.document.Document |
DocumentUtil.toDocument(Resource file,
String url,
String charset)
translate the file to a Document Object |
Constructors in railo.runtime.search.lucene2 with parameters of type Resource | |
---|---|
LuceneSearchCollection(SearchEngineSupport searchEngine,
String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created)
|
|
LuceneSearchCollection(SearchEngineSupport searchEngine,
String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created,
boolean spellcheck)
|
Uses of Resource in railo.runtime.search.lucene2.docs |
---|
Methods in railo.runtime.search.lucene2.docs with parameters of type Resource | |
---|---|
static org.apache.lucene.document.Document |
PlainDocument.Document(Resource f,
String charset)
Makes a document for a File. |
static org.apache.lucene.document.Document |
PDFDocument.getDocument(Resource res)
This will get a lucene document from a PDF file. |
static org.apache.lucene.document.Document |
WordDocument.getDocument(Resource res)
Makes a document for a File. |
static org.apache.lucene.document.Document |
FileDocument.getDocument(Resource res,
String charset)
Makes a document for a File. |
static org.apache.lucene.document.Document |
HTMLDocument.getDocument(Resource res,
String charset)
|
static String |
HTMLDocument.uid(Resource f)
|
Uses of Resource in railo.runtime.search.lucene2.html |
---|
Methods in railo.runtime.search.lucene2.html with parameters of type Resource | |
---|---|
void |
HTMLParser.parse(Resource res,
String charset)
|
Uses of Resource in railo.runtime.security |
---|
Methods in railo.runtime.security that return Resource | |
---|---|
Resource[] |
SecurityManagerImpl.getCustomFileAccess()
|
Methods in railo.runtime.security with parameters of type Resource | |
---|---|
void |
SecurityManagerImpl.checkFileLocation(Config config,
Resource res,
String serverPassword)
|
void |
SecurityManager.checkFileLocation(Config config,
Resource res,
String serverPassword)
|
void |
SecurityManagerImpl.checkFileLocation(Resource res)
|
void |
SecurityManager.checkFileLocation(Resource res)
|
static Credential |
CredentialImpl.decode(Object encoded,
Resource rolesDir)
decode the Credential form a Base64 String value |
void |
SecurityManagerImpl.setCustomFileAccess(Resource[] fileAccess)
|
void |
SecurityManagerImpl.setRootDirectory(Resource rootDirectory)
|
Constructors in railo.runtime.security with parameters of type Resource | |
---|---|
CredentialImpl(String username,
Resource rolesDir)
credential constructor |
|
CredentialImpl(String username,
String password,
Array roles,
Resource rolesDir)
credential constructor |
|
CredentialImpl(String username,
String password,
Resource rolesDir)
credential constructor |
|
CredentialImpl(String username,
String password,
String[] roles,
Resource rolesDir)
credential constructor |
|
CredentialImpl(String username,
String password,
String roles,
Resource rolesDir)
credential constructor |
Uses of Resource in railo.runtime.spooler |
---|
Methods in railo.runtime.spooler with parameters of type Resource | |
---|---|
void |
SpoolerEngineImpl.setPersisDirectory(Resource persisDirectory)
|
Constructors in railo.runtime.spooler with parameters of type Resource | |
---|---|
SpoolerEngineImpl(Config config,
Resource persisDirectory,
String label,
Log log,
int maxThreads)
|
Uses of Resource in railo.runtime.tag |
---|
Methods in railo.runtime.tag that return Resource | |
---|---|
Resource |
HttpParamBean.getFile()
|
Resource |
VideoPlayerParamBean.getFlash()
|
Resource |
VideoPlayerParamBean.getImage()
|
Resource |
VideoPlayerParamBean.getResource()
|
Resource |
ZipParamSource.getSource()
|
Resource |
Zip.getSource()
|
Resource |
VideoPlayerParamBean.getVideo()
|
Methods in railo.runtime.tag with parameters of type Resource | |
---|---|
static void |
FileTag.actionCopy(PageContext pageContext,
SecurityManager securityManager,
Resource source,
String strDestination,
int nameconflict,
String serverPassword,
Object acl,
int mode,
String attributes)
copy source file to destination file or path |
static void |
Directory.actionCreate(PageContext pc,
Resource directory,
String serverPassword,
boolean doParent,
int mode,
Object acl,
int storage)
create a directory |
static void |
Directory.actionDelete(PageContext pc,
Resource dir,
boolean forceDelete,
String serverPassword)
delete directory |
static Object |
Directory.actionList(PageContext pageContext,
Resource directory,
String serverPassword,
int type,
ResourceFilter filter,
ResourceAndResourceNameFilter nameFilter,
int listInfo,
boolean recurse,
String sort)
list all files and directories inside a directory |
static void |
FileTag.actionMove(PageContext pageContext,
SecurityManager securityManager,
Resource source,
String strDestination,
int nameconflict,
String serverPassword,
Object acl,
int mode,
String attributes)
move source file to destination path or file |
static void |
Directory.actionRename(PageContext pc,
Resource directory,
String strNewdirectory,
String serverPassword,
Object acl,
int storage)
rename a directory to a new Name |
void |
HttpParamBean.setFile(Resource file)
set the value file Required for type = "File". |
void |
VideoPlayerParamBean.setFlash(Resource flash,
String pathFlash)
|
void |
VideoPlayerParamBean.setVideo(Resource video,
String pathVideo)
|
Constructors in railo.runtime.tag with parameters of type Resource | |
---|---|
_Execute(PageContext pageContext,
Object monitor,
String command,
Resource outputfile,
String variable,
String body)
|
|
ZipParamSource(Resource source,
String entryPath,
WildCardFilter filter,
String prefix,
boolean recurse)
|
Uses of Resource in railo.runtime.text.feed |
---|
Constructors in railo.runtime.text.feed with parameters of type Resource | |
---|---|
FeedHandler(Resource res)
Constructor of the class |
|
RSSHandler(Resource res)
Constructor of the class |
Uses of Resource in railo.runtime.text.pdf |
---|
Methods in railo.runtime.text.pdf that return Resource | |
---|---|
Resource |
PDFDocument.getResource()
|
Methods in railo.runtime.text.pdf with parameters of type Resource | |
---|---|
void |
PDF2ImageICEpdf.writeImages(byte[] input,
Set pages,
Resource outputDirectory,
String prefix,
String format,
int scale,
boolean overwrite,
boolean goodQuality,
boolean transparent)
|
abstract void |
PDF2Image.writeImages(byte[] input,
Set pages,
Resource outputDirectory,
String prefix,
String format,
int scale,
boolean overwrite,
boolean goodQuality,
boolean transparent)
|
void |
PDF2ImageJPedal.writeImages(byte[] input,
Set pages,
Resource outputDirectory,
String prefix,
String format,
int scale,
boolean overwrite,
boolean goodQuality,
boolean transparent)
|
void |
PDF2ImagePDFRenderer.writeImages(byte[] input,
Set pages,
Resource outputDirectory,
String prefix,
String format,
int scale,
boolean overwrite,
boolean goodQuality,
boolean transparent)
|
static void |
PDFUtil.writeImages(byte[] input,
Set pages,
Resource outputDirectory,
String prefix,
String format,
int scale,
boolean overwrite,
boolean goodQuality,
boolean transparent)
|
Constructors in railo.runtime.text.pdf with parameters of type Resource | |
---|---|
PDFDocument(byte[] barr,
Resource resource,
String password)
|
|
PDFDocument(Resource resource,
String password)
|
Uses of Resource in railo.runtime.text.xml |
---|
Methods in railo.runtime.text.xml with parameters of type Resource | |
---|---|
static InputSource |
XMLUtil.toInputSource(Resource res)
|
static void |
XMLCaster.writeTo(Node node,
Resource file)
write a xml Dom to a file |
Uses of Resource in railo.runtime.type.scope |
---|
Methods in railo.runtime.type.scope that return Resource | |
---|---|
Resource |
FormImpl.Item.getResource()
|
Constructors in railo.runtime.type.scope with parameters of type Resource | |
---|---|
FormImpl.Item(Resource resource,
String contentType,
String name,
String fieldName)
|
Uses of Resource in railo.runtime.util |
---|
Methods in railo.runtime.util that return Resource | |
---|---|
Resource |
ResourceUtil.createResource(Resource res,
short level,
short type)
create a file if possible, return file if ok, otherwise return null |
Resource |
Creation.createResource(String path,
boolean existing)
|
Resource |
Cast.toResource(Object obj)
convert a object to a Resource |
Resource |
Cast.toResource(Object obj,
Resource defaultValue)
convert a object to a Resource |
Resource |
ResourceUtil.toResourceExisting(PageContext pc,
String path)
cast a String (argument destination) to a File Object, if destination is not a absolute, file object will be relative to current position (get from PageContext) file must exist otherwise throw exception |
Resource |
ResourceUtil.toResourceExistingParent(PageContext pc,
String destination)
cast a String (argument destination) to a File Object, if destination is not a absolute, file object will be relative to current position (get from PageContext) at least parent must exist |
Resource |
ResourceUtil.toResourceNotExisting(PageContext pc,
String destination)
cast a String (argument destination) to a File Object, if destination is not a absolute, file object will be relative to current position (get from PageContext) existing file is prefered but dont must exist |
Methods in railo.runtime.util with parameters of type Resource | |
---|---|
void |
ResourceUtil.checkCopyToOK(Resource source,
Resource target)
check if copying a file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtil.checkCreateDirectoryOK(Resource resource,
boolean createParentWhenNotExists)
check if directory creation is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtil.checkCreateFileOK(Resource resource,
boolean createParentWhenNotExists)
check if file creating is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtil.checkGetInputStreamOK(Resource resource)
check if getting a inputstream of the file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtil.checkGetOutputStreamOK(Resource resource)
check if getting a outputstream of the file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtil.checkMoveToOK(Resource source,
Resource target)
check if moveing a file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtil.checkRemoveOK(Resource resource)
check if removing the file is ok with the rules for the Resource interface, to not change this rules. |
void |
ResourceUtil.copyRecursive(Resource src,
Resource trg)
copy a file or directory recursive (with his content) |
void |
ResourceUtil.copyRecursive(Resource src,
Resource trg,
ResourceFilter filter)
copy a file or directory recursive (with his content) |
Document |
Creation.createDocument(Resource file,
boolean isHtml)
creates and returns a xml Document instance |
Resource |
ResourceUtil.createResource(Resource res,
short level,
short type)
create a file if possible, return file if ok, otherwise return null |
String |
ResourceUtil.getExtension(Resource res)
get the Extension of a file resource |
String |
ResourceUtil.getMymeType(Resource res,
String defaultValue)
return the mime type of a file, does not check the extension of the file, it checks the header |
String |
ResourceUtil.getPathToChild(Resource file,
Resource dir)
return diffrents of one file to a other if first is child of second otherwise return null |
boolean |
ResourceUtil.isChildOf(Resource file,
Resource dir)
check if file is a child of given directory |
boolean |
ResourceUtil.isEmpty(Resource res)
return if Resource is empty, means is directory and has no children or a empty file, if not exists return false. |
boolean |
ResourceUtil.isEmptyDirectory(Resource res)
|
boolean |
ResourceUtil.isEmptyFile(Resource res)
|
void |
ResourceUtil.moveTo(Resource src,
Resource dest)
|
void |
ResourceUtil.removeChildren(Resource res)
|
void |
ResourceUtil.removeChildren(Resource res,
ResourceFilter filter)
|
void |
ResourceUtil.removeChildren(Resource res,
ResourceNameFilter filter)
|
void |
ResourceUtil.setAttribute(Resource res,
String attributes)
sets a attribute to the resource |
Resource |
Cast.toResource(Object obj,
Resource defaultValue)
convert a object to a Resource |
String |
ResourceUtil.toString(Resource r,
String charset)
|
void |
ZipUtilImpl.unzip(Resource zip,
Resource dir)
|
void |
ZipUtil.unzip(Resource zip,
Resource dir)
|
Uses of Resource in railo.runtime.video |
---|
Methods in railo.runtime.video that return Resource | |
---|---|
Resource |
VideoInputImpl.getResource()
|
Resource |
VideoOutputImpl.getResource()
|
Resource |
VideoOutput.getResource()
|
Resource |
VideoInput.getResource()
|
Methods in railo.runtime.video with parameters of type Resource | |
---|---|
static void |
ProfileCollection.createFileFromResource(String path,
Resource bin)
|
VideoInput |
VideoUtilImpl.createVideoInput(Resource input)
|
VideoInput |
VideoUtil.createVideoInput(Resource input)
|
VideoOutput |
VideoUtilImpl.createVideoOutput(Resource output)
|
VideoOutput |
VideoUtil.createVideoOutput(Resource output)
|
void |
VideoOutputImpl.setResource(Resource resource)
|
void |
VideoOutput.setResource(Resource resource)
|
Constructors in railo.runtime.video with parameters of type Resource | |
---|---|
VideoInputImpl(Resource resource)
Constructor of the class |
|
VideoOutputImpl(Resource resource)
|
Uses of Resource in railo.transformer.bytecode |
---|
Methods in railo.transformer.bytecode with parameters of type Resource | |
---|---|
byte[] |
Page.execute(Resource classFile)
result byte code as binary array |
Constructors in railo.transformer.bytecode with parameters of type Resource | |
---|---|
Page(Resource source,
String name,
int version,
long lastModifed,
boolean writeLog)
|
Uses of Resource in railo.transformer.bytecode.extern |
---|
Methods in railo.transformer.bytecode.extern with parameters of type Resource | |
---|---|
static StringExternalizerReader |
StringExternalizerFactory.getReader(Resource res)
|
Constructors in railo.transformer.bytecode.extern with parameters of type Resource | |
---|---|
StringExternalizerReader(Resource res)
|
|
StringExternalizerWriter(Resource res)
|
Uses of Resource in railo.transformer.library.function |
---|
Methods in railo.transformer.library.function with parameters of type Resource | |
---|---|
static FunctionLib[] |
FunctionLibFactory.loadFromDirectory(Resource dir)
L�dt mehrere FunctionLib's die innerhalb eines Verzeichnisses liegen. |
static FunctionLib[] |
FunctionLibFactory.loadFromDirectory(Resource dir,
String saxParser)
L�dt mehrere FunctionLib's die innerhalb eines Verzeichnisses liegen. |
static FunctionLib |
FunctionLibFactory.loadFromFile(Resource file)
L�dt eine einzelne FunctionLib. |
static FunctionLib |
FunctionLibFactory.loadFromFile(Resource res,
String saxParser)
L�dt eine einzelne FunctionLib. |
Uses of Resource in railo.transformer.library.tag |
---|
Methods in railo.transformer.library.tag with parameters of type Resource | |
---|---|
static TagLib[] |
TagLibFactory.loadFrom(Resource res)
|
static TagLib[] |
TagLibFactory.loadFromDirectory(Resource dir)
L�dt mehrere TagLib's die innerhalb eines Verzeichnisses liegen. |
static TagLib[] |
TagLibFactory.loadFromDirectory(Resource dir,
String saxParser)
L�dt mehrere TagLib's die innerhalb eines Verzeichnisses liegen. |
static TagLib |
TagLibFactory.loadFromFile(Resource res)
L�dt eine einzelne TagLib. |
static TagLib |
TagLibFactory.loadFromFile(Resource res,
String saxParser)
L�dt eine einzelne TagLib. |
Uses of Resource in railo.transformer.util |
---|
Constructors in railo.transformer.util with parameters of type Resource | |
---|---|
AlreadyClassException(Resource resource)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |