A B C D E F G H I J L M N P R S T U

A

AbstractAggregatedResource - Class in fnug.resource
Abstract superclass for aggregated resources.
AbstractAggregatedResource(Bundle, String) - Constructor for class fnug.resource.AbstractAggregatedResource
Constructs setting necessary fields.
AbstractCompiledResource - Class in fnug.resource
 
AbstractCompiledResource(String, String) - Constructor for class fnug.resource.AbstractCompiledResource
Constructs setting base path and path.
AbstractResource - Class in fnug.resource
Abstract supertype for Resource implementations.
AbstractResource(String, String) - Constructor for class fnug.resource.AbstractResource
Constructor setting necessary fields.
AbstractResource.Entry - Class in fnug.resource
Wrapper class for returning data from AbstractResource.readEntry().
AbstractResource.Entry(long, byte[]) - Constructor for class fnug.resource.AbstractResource.Entry
 
AggregatedResource - Interface in fnug.resource
Extension of Resource for resources that are products of other resource.

B

BadArg - Class in fnug.servlet
 
BadArg(String) - Constructor for class fnug.servlet.BadArg
 
basePath() - Method in interface fnug.config.BundleConfig
Base path of the bundle.
basePath() - Method in class fnug.config.DefaultBundleConfig
Base path of the bundle.
Bootstrap - Class in fnug.servlet
 
Bootstrap(ObjectMapper, String, Bundle, boolean) - Constructor for class fnug.servlet.Bootstrap
 
buildAggregate() - Method in class fnug.resource.AbstractAggregatedResource
Must be implemented in subclasses to build the aggregated bytes.
buildAggregate() - Method in class fnug.resource.DefaultResourceCollection
Builds two sets of aggregated bytes.
Bundle - Interface in fnug.resource
Bundles are entities responsible for resolving and building Resource.
BUNDLE_ALLOWED_CHARS - Static variable in interface fnug.resource.Bundle
Chars allowed in a bundle name [a-zA-Z0-9_]+.
BundleConfig - Interface in fnug.config
Config for a Bundle.
BundleNames - Class in fnug.servlet
 
BundleNames(ObjectMapper, String) - Constructor for class fnug.servlet.BundleNames
 

C

checkModified() - Method in class fnug.resource.AbstractAggregatedResource
Calls Resource.checkModified() on all the underlying resources in AggregatedResource.getAggregates() and AggregatedResource.getDependencies().
checkModified() - Method in class fnug.resource.AbstractCompiledResource
Ditches the compiled bytes if the superclass indicates that modified has changed.
checkModified() - Method in class fnug.resource.AbstractResource
Compares this resource in memory held last modified date with the one on disk (or for aggregated resource, all the aggregates are checked).
checkModified() - Method in interface fnug.resource.Bundle
Checks whether this bundle is modified by calling checkModified() on the Bundle.getResourceCollections().
checkModified() - Method in class fnug.resource.DefaultBundle
Checks whether this bundle is modified by calling checkModified() on the Bundle.getResourceCollections().
checkModified() - Method in class fnug.resource.DefaultBundleResource
Compares this resource in memory held last modified date with the one on disk (or for aggregated resource, all the aggregates are checked).
checkModified() - Method in class fnug.resource.DefaultResourceCollection
Calls Resource.checkModified() on all the underlying resources in AggregatedResource.getAggregates() and AggregatedResource.getDependencies().
checkModified() - Method in interface fnug.resource.Resource
Compares this resource in memory held last modified date with the one on disk (or for aggregated resource, all the aggregates are checked).
checkModified() - Method in class fnug.resource.ResourceResolver
Checks if any of the config resources passed in the constructor is changed, in which case the resolver reinitialises all bundles.
checkModifiedInterval() - Method in interface fnug.config.BundleConfig
The interval in milliseconds that we are to check the modified dates of resources resolved by this bundle.
checkModifiedInterval() - Method in class fnug.config.DefaultBundleConfig
The interval in milliseconds that we are to check the modified dates of resources resolved by this bundle.
compile(byte[]) - Method in class fnug.resource.AbstractCompiledResource
Subclasses must implement to do the compilation of this resource.
compile(byte[]) - Method in class fnug.resource.DustCompiledResource
Subclasses must implement to do the compilation of this resource.
compress(byte[]) - Method in interface fnug.resource.Compressor
Compresses the given input of bytes.
compress(byte[]) - Method in class fnug.resource.CssCompressor
Compresses the given input of bytes.
compress(byte[]) - Method in class fnug.resource.JsCompressor
Compresses the given input of bytes.
Compressor - Interface in fnug.resource
Interface for compressors of bytes, javascript or css.
Config - Interface in fnug.config
Product of ConfigParser.parse(fnug.resource.Resource).
ConfigParseException - Exception in fnug.config
Exception thrown when parsing a config.
ConfigParseException(String) - Constructor for exception fnug.config.ConfigParseException
Constructs with message.
ConfigParseException(String, Exception) - Constructor for exception fnug.config.ConfigParseException
Constructs with message and wrapped exception.
ConfigParser - Interface in fnug.config
Interface for config parsers.
configResource() - Method in interface fnug.config.BundleConfig
Returns the resource responsible for this configuration.
configResource() - Method in class fnug.config.DefaultBundleConfig
Returns the resource responsible for this configuration.
CONTENT_TYPE_JS - Static variable in class fnug.ResourceServlet
 
CONTENT_TYPE_JSON - Static variable in class fnug.ResourceServlet
 
CONTENT_TYPE_TEXT_CSS - Static variable in class fnug.resource.AbstractResource
Content type text/css.
CONTENT_TYPE_TEXT_JAVASCRIPT - Static variable in class fnug.resource.AbstractResource
Content type text/javascript.
contentTypeForPath(String) - Static method in class fnug.resource.AbstractResource
Returns the content type for the given path by consulting a mime type map.
createFromEnv() - Static method in class fnug.config.GlobalConfig
 
CssCompressor - Class in fnug.resource
Css variant of the compressor.
CssCompressor() - Constructor for class fnug.resource.CssCompressor
 

D

decode(String) - Method in class fnug.resource.DefaultResource
The URLClassLoader.getResource() encodes the returned URL as UTF-8, but it will not encode the '+' sign (encoding done via internal sun.net.www.ParseUtil).
DEFAULT_CHECK_MODIFIED - Static variable in interface fnug.config.BundleConfig
Default value for BundleConfig.checkModifiedInterval().
DEFAULT_CHECK_MODIFIED_INTERVAL - Static variable in class fnug.resource.DefaultResource
Default interval for checking the modified time.
DefaultBundle - Class in fnug.resource
Default implementation of Bundle.
DefaultBundle(BundleConfig) - Constructor for class fnug.resource.DefaultBundle
Constructs a bundle from the given config object.
DefaultBundleConfig - Class in fnug.config
Default implementation of BundleConfig
DefaultBundleConfig(Resource, String, String, String, int, String[]) - Constructor for class fnug.config.DefaultBundleConfig
Constructs setting all configurations.
DefaultBundleResource - Class in fnug.resource
Extension of DefaultResource that implements HasBundle.
DefaultBundleResource(Bundle, String) - Constructor for class fnug.resource.DefaultBundleResource
Constructs setting the necessary bundle and path.
DefaultCompressedResource - Class in fnug.resource
Special resource that only postpones compression of bytes to the call of DefaultCompressedResource.getBytes().
DefaultCompressedResource(Bundle, String, String, byte[], long, Compressor) - Constructor for class fnug.resource.DefaultCompressedResource
Constructs setting all necessary fields.
DefaultConfig - Class in fnug.config
Default implementation of Config
DefaultConfig(BundleConfig...) - Constructor for class fnug.config.DefaultConfig
Constructs from a bunch of BundleConfig.
DefaultConfig(T) - Constructor for class fnug.config.DefaultConfig
Constructs using a collection of configs.
DefaultResource - Class in fnug.resource
Default file resource implementation.
DefaultResource(String, String, int) - Constructor for class fnug.resource.DefaultResource
Constructs setting base path path and interval for checking.
DefaultResource(String, String) - Constructor for class fnug.resource.DefaultResource
Creates a new resource setting the base path and path.
DefaultResourceCollection - Class in fnug.resource
Default implementation of ResourceCollection.
DefaultResourceCollection(Bundle, Bundle, Resource[], Resource[]) - Constructor for class fnug.resource.DefaultResourceCollection
Constructs setting all necessary bits.
doGet(HttpServletRequest, HttpServletResponse) - Method in class fnug.ResourceServlet
 
doGetResourceURL(String) - Method in class fnug.resource.DefaultResource
Returns the URL of the resource.
doHead(HttpServletRequest, HttpServletResponse) - Method in class fnug.ResourceServlet
 
DustCompiledResource - Class in fnug.resource
 
DustCompiledResource(String, String) - Constructor for class fnug.resource.DustCompiledResource
Constructs setting base path and path.

E

ensureReadEntry() - Method in class fnug.resource.AbstractResource
Ensures the bytes and lastmodified is read from the underlying resource (such as a file).
escape(String, int) - Static method in class fnug.servlet.Bootstrap
 
extractJarFile(URL) - Method in class fnug.resource.DefaultResource
 

F

files() - Method in interface fnug.config.BundleConfig
Files that comprises this bundle.
files() - Method in class fnug.config.DefaultBundleConfig
Files that comprises this bundle.
findRequiresTags() - Method in class fnug.resource.AbstractAggregatedResource
Always throws UnsupportedOperationException.
findRequiresTags() - Method in class fnug.resource.DefaultCompressedResource
Always throws UnsupportedOperationException.
findRequiresTags() - Method in class fnug.resource.DefaultResource
Scans the resource for the sequence "* @requires" which makes this resource depend on others.
findRequiresTags() - Method in interface fnug.resource.Resource
Scans the resource for the sequence "* @requires" which makes this resource depend on others.
fnug - package fnug
 
fnug.config - package fnug.config
 
fnug.resource - package fnug.resource
 
fnug.servlet - package fnug.servlet
 
fnug.util - package fnug.util
 
futureExpires() - Method in class fnug.servlet.Bootstrap
 
futureExpires() - Method in class fnug.servlet.BundleNames
 
futureExpires() - Method in interface fnug.servlet.ToServe
 
futureExpires() - Method in class fnug.servlet.ToServeBundle
 
futureExpires() - Method in class fnug.servlet.ToServeResource
 

G

getAggregates() - Method in interface fnug.resource.AggregatedResource
Aggregates are the resources that actually make up the aggregated resource - that are used to produce the Resource.getBytes().
getAggregates() - Method in class fnug.resource.DefaultResourceCollection
Aggregates are the resources that actually make up the aggregated resource - that are used to produce the Resource.getBytes().
getBasePath() - Method in class fnug.resource.AbstractResource
Base path is the fist half of a Resource.getFullPath().
getBasePath() - Method in interface fnug.resource.AggregatedResource
Base path for an aggregated resource is set to the owning bundle's name prepended with a slash.
getBasePath() - Method in interface fnug.resource.Resource
Base path is the fist half of a Resource.getFullPath().
getBundle() - Method in class fnug.resource.AbstractCompiledResource
Returns the associated bundle.
getBundle() - Method in class fnug.resource.DefaultBundleResource
Returns the associated bundle.
getBundle() - Method in class fnug.resource.DefaultCompressedResource
Returns the associated bundle.
getBundle() - Method in class fnug.resource.DefaultResourceCollection
Returns the associated bundle.
getBundle() - Method in interface fnug.resource.HasBundle
Returns the associated bundle.
getBundle(String) - Method in class fnug.resource.ResourceResolver
Returns the bundle for the given bundle name.
getBundleConfigs() - Method in interface fnug.config.Config
The BundleConfig found in the config file.
getBundleConfigs() - Method in class fnug.config.DefaultConfig
The BundleConfig found in the config file.
getBundles() - Method in class fnug.resource.ResourceResolver
Returns a list of all configured bundles.
getBytes() - Method in class fnug.resource.AbstractCompiledResource
Returns the compiled bytes.
getBytes() - Method in class fnug.resource.AbstractResource
The bytes that is this resource data.
getBytes() - Method in class fnug.resource.DefaultCompressedResource
Retrieves the bytes via the superclass AbstractResource.getBytes() (which ultimately leads to DefaultCompressedResource.readEntry()).
getBytes() - Method in interface fnug.resource.HasLastModifiedBytes
The bytes.
getBytes() - Method in interface fnug.resource.Resource
The bytes that is this resource data.
getBytes() - Method in class fnug.servlet.Bootstrap
 
getBytes() - Method in class fnug.servlet.BundleNames
 
getBytes() - Method in class fnug.servlet.ToServeBundle
 
getBytes() - Method in class fnug.servlet.ToServeResource
 
getBytesForFindRequires() - Method in class fnug.resource.AbstractCompiledResource
Overridden to return the uncompiled bytes.
getBytesForFindRequires() - Method in class fnug.resource.DefaultResource
Overridable method for getting the bytes to use for finding requires tags.
getCharacterEncoding() - Method in class fnug.servlet.Bootstrap
 
getCharacterEncoding() - Method in class fnug.servlet.BundleNames
 
getCharacterEncoding() - Method in interface fnug.servlet.ToServe
 
getCharacterEncoding() - Method in class fnug.servlet.ToServeBundle
 
getCharacterEncoding() - Method in class fnug.servlet.ToServeResource
 
getCompressedCss() - Method in class fnug.resource.DefaultResourceCollection
Returns a resource that is the compressed version of the ResourceCollection.getCss().
getCompressedCss() - Method in interface fnug.resource.ResourceCollection
Returns a resource that is the compressed version of the ResourceCollection.getCss().
getCompressedJs() - Method in class fnug.resource.DefaultResourceCollection
Returns a resource that is the compressed version of the ResourceCollection.getJs() .
getCompressedJs() - Method in interface fnug.resource.ResourceCollection
Returns a resource that is the compressed version of the ResourceCollection.getJs() .
getConfig() - Method in interface fnug.resource.Bundle
Returns the config that this bundle was built from.
getConfig() - Method in class fnug.resource.DefaultBundle
Returns the config that this bundle was built from.
getContentType() - Method in class fnug.resource.AbstractResource
The mime type of the resource such as text/javascript or text/css.
getContentType() - Method in interface fnug.resource.Resource
The mime type of the resource such as text/javascript or text/css.
getContentType() - Method in class fnug.servlet.Bootstrap
 
getContentType() - Method in class fnug.servlet.BundleNames
 
getContentType() - Method in interface fnug.servlet.ToServe
 
getContentType() - Method in class fnug.servlet.ToServeBundle
 
getContentType() - Method in class fnug.servlet.ToServeResource
 
getCss() - Method in class fnug.resource.DefaultResourceCollection
Returns the dependent css files, concatenated in dependency order.
getCss() - Method in interface fnug.resource.ResourceCollection
Returns the dependent css files, concatenated in dependency order.
getDependencies() - Method in interface fnug.resource.AggregatedResource
Dependencies are resources that are just dependent on for Resource.getLastModified() (along with AggregatedResource.getAggregates()) but are not part of making the bytes of the aggregate.
getDependencies() - Method in class fnug.resource.DefaultResourceCollection
Dependencies are resources that are just dependent on for Resource.getLastModified() (along with AggregatedResource.getAggregates()) but are not part of making the bytes of the aggregate.
getExistingCssAggregates() - Method in class fnug.resource.DefaultResourceCollection
Returns the discovered dependent css files that actually exists (doesn't return -1 for Resource.getLastModified()).
getExistingCssAggregates() - Method in interface fnug.resource.ResourceCollection
Returns the discovered dependent css files that actually exists (doesn't return -1 for Resource.getLastModified()).
getExistingJsAggregates() - Method in class fnug.resource.DefaultResourceCollection
Returns the discovered dependent javascript files that actually exists (doesn't return -1 for Resource.getLastModified()).
getExistingJsAggregates() - Method in interface fnug.resource.ResourceCollection
Returns the discovered dependent javascript files that actually exists (doesn't return -1 for Resource.getLastModified()).
getFullPath() - Method in class fnug.resource.AbstractResource
The full path, which is simply two strings concatenated as Resource.getBasePath() + Resource.getPath().
getFullPath() - Method in interface fnug.resource.Resource
The full path, which is simply two strings concatenated as Resource.getBasePath() + Resource.getPath().
getGlobalConfig() - Method in class fnug.resource.ResourceResolver
Returns the global config object.
getInstance() - Static method in class fnug.resource.ResourceResolver
Returns the thread associated instance.
getJs() - Method in class fnug.resource.DefaultResourceCollection
Returns the dependent javascript files, concatenated in dependency order.
getJs() - Method in interface fnug.resource.ResourceCollection
Returns the dependent javascript files, concatenated in dependency order.
getJsLinter() - Method in interface fnug.resource.Bundle
Returns the configured JSLint instance for the bundle.
getJsLinter() - Method in class fnug.resource.DefaultBundle
Returns the configured JSLint instance for the bundle.
getJSLintResult() - Method in class fnug.resource.DefaultBundleResource
Returns the jslint result.
getJSLintResult() - Method in interface fnug.resource.HasJSLintResult
Returns the jslint result.
getLastModified() - Method in class fnug.resource.AbstractResource
Tells this resource last modified date.
getLastModified() - Method in interface fnug.resource.Bundle
Returns the last modified date of this bundle which comprises the most recent date of the Bundle.getConfig() and all the Bundle.getResourceCollections() resources last modified dates.
getLastModified() - Method in class fnug.resource.DefaultBundle
Returns the last modified date of this bundle which comprises the most recent date of the Bundle.getConfig() and all the Bundle.getResourceCollections() resources last modified dates.
getLastModified() - Method in interface fnug.resource.HasLastModifiedBytes
The timestamp when the bytes were last changed.
getLastModified() - Method in interface fnug.resource.Resource
Tells this resource last modified date.
getLastModified() - Method in class fnug.resource.ResourceResolver
Returns the last modified date of all the configured bundles, see Bundle.getLastModified().
getLastModified(HttpServletRequest) - Method in class fnug.ResourceServlet
 
getLastModified() - Method in class fnug.servlet.Bootstrap
 
getLastModified() - Method in class fnug.servlet.BundleNames
 
getLastModified() - Method in class fnug.servlet.ToServeBundle
 
getLastModified() - Method in class fnug.servlet.ToServeResource
 
getMessage() - Method in class fnug.servlet.BadArg
 
getName() - Method in interface fnug.resource.Bundle
The name of this bundle.
getName() - Method in class fnug.resource.DefaultBundle
The name of this bundle.
getPath() - Method in class fnug.resource.AbstractResource
The second part of a full path, that is the part after the base path.
getPath() - Method in class fnug.resource.DefaultResourceCollection
The path of a resource collection is an md5 hash sum as hexadecimal of all the aggregates file names and last modified dates prepended with the bundle name.
getPath() - Method in interface fnug.resource.Resource
The second part of a full path, that is the part after the base path.
getResourceCollections() - Method in interface fnug.resource.Bundle
Each bundle configures up a number of resources (files) that comprises the bundle, see BundleConfig.files().
getResourceCollections() - Method in class fnug.resource.DefaultBundle
Each bundle configures up a number of resources (files) that comprises the bundle, see BundleConfig.files().
getResourceURL(String) - Static method in class fnug.resource.DefaultResource
Returns the URL of the resource.
getResult() - Method in class fnug.resource.Tarjan
Returns the result of the algorithm.
GlobalConfig - Class in fnug.config
 

H

HasBundle - Interface in fnug.resource
Tells that the implementor has an associated Bundle.
HasJSLintResult - Interface in fnug.resource
Tagging interface for entities that has a JSLint result.
HasLastModifiedBytes - Interface in fnug.resource
Implementors have bytes that are time stamped.

I

init(ServletConfig) - Method in class fnug.ResourceServlet
 
IOUtils - Class in fnug.util
Helper methods for i/o operations.
IOUtils() - Constructor for class fnug.util.IOUtils
 
isCss() - Method in class fnug.resource.AbstractResource
Shortcut to determine if this resource is css.
isCss() - Method in interface fnug.resource.Resource
Shortcut to determine if this resource is css.
isJs() - Method in class fnug.resource.AbstractResource
Shortcut to determine if this resource is javascript.
isJs() - Method in class fnug.resource.DustCompiledResource
Dust templates are JS.
isJs() - Method in interface fnug.resource.Resource
Shortcut to determine if this resource is javascript.
isNoJsLint() - Method in class fnug.config.GlobalConfig
 
isNoModify() - Method in class fnug.config.GlobalConfig
 
isPrecompile() - Method in class fnug.config.GlobalConfig
 

J

JsCompilationFailedException - Exception in fnug.resource
Thrown when javascript compilation fails.
JsCompilationFailedException(String) - Constructor for exception fnug.resource.JsCompilationFailedException
Constructs without setting wrapped exception.
JsCompilationFailedException(String, Exception) - Constructor for exception fnug.resource.JsCompilationFailedException
Constructs setting args.
JsCompressor - Class in fnug.resource
Implementation of Compressor for javascript.
JsCompressor() - Constructor for class fnug.resource.JsCompressor
 
jsLintArgs() - Method in interface fnug.config.BundleConfig
The arguments used for JSLint.
jsLintArgs() - Method in class fnug.config.DefaultBundleConfig
The arguments used for JSLint.
JSLintWrapper - Class in fnug.util
Wrapper around wro4j jslinter.
JSLintWrapper(String) - Constructor for class fnug.util.JSLintWrapper
Construct passing the configuration arguments.
JsonBundle - Class in fnug.servlet
 
JsonBundle(Bundle) - Constructor for class fnug.servlet.JsonBundle
 
JsonBundleNames - Class in fnug.servlet
 
JsonBundleNames(List<Bundle>) - Constructor for class fnug.servlet.JsonBundleNames
 
JsonConfigParseException - Exception in fnug.config
Specialisation of ConfigParseException for JsonConfigParser.
JsonConfigParseException(JsonLocation, String) - Constructor for exception fnug.config.JsonConfigParseException
Constructs with message and location.
JsonConfigParseException(JsonLocation, Exception) - Constructor for exception fnug.config.JsonConfigParseException
Constructs with location and wrapped exception.
JsonConfigParser - Class in fnug.config
Implementation of ConfigParser that reads json config files.
JsonConfigParser() - Constructor for class fnug.config.JsonConfigParser
 
JsonResourceCollection - Class in fnug.servlet
 
JsonResourceCollection(ResourceCollection) - Constructor for class fnug.servlet.JsonResourceCollection
 

L

lint(String, String) - Method in class fnug.util.JSLintWrapper
Check for problems in JavaScript source.

M

makeResource(String) - Method in class fnug.resource.DefaultBundle
Can be overridden to provide other implementations of Resource than the DefaultBundleResource.
md5(String) - Static method in class fnug.util.IOUtils
Makes an md5 sum of the given string.

N

name() - Method in interface fnug.config.BundleConfig
Name of the bundle.
name() - Method in class fnug.config.DefaultBundleConfig
Name of the bundle.
name() - Method in interface fnug.resource.Compressor
Returns what type of compressor this is.
name() - Method in class fnug.resource.CssCompressor
Returns what type of compressor this is.
name() - Method in class fnug.resource.JsCompressor
Returns what type of compressor this is.
normalize(String) - Static method in class fnug.util.IOUtils
Helper method to normalize ../foo/../bar/../ style paths.

P

parse(Resource) - Method in interface fnug.config.ConfigParser
Parse the given resource into a config.
parse(Resource) - Method in class fnug.config.JsonConfigParser
Parse the given resource into a config.

R

readEntry() - Method in class fnug.resource.AbstractAggregatedResource
Implements the abstract readEntry(), and uses AbstractAggregatedResource.readLastModified() and AbstractAggregatedResource.buildAggregate() to build the AbstractResource.Entry .
readEntry() - Method in class fnug.resource.AbstractResource
Reads the actual entry providing the bytes and lastModified date back to the caller.
readEntry() - Method in class fnug.resource.DefaultCompressedResource
Returns DefaultCompressedResource.readLastModified() and the bytes given in the constructor.
readEntry() - Method in class fnug.resource.DefaultResource
Reads the entry from the class loader using Class.getResource(String).
readLastModified() - Method in class fnug.resource.AbstractAggregatedResource
Loops over AggregatedResource.getAggregates() and AggregatedResource.getDependencies() to find the most recent last modified date.
readLastModified() - Method in class fnug.resource.AbstractResource
Reads just the last modified date from the actual data source.
readLastModified() - Method in class fnug.resource.DefaultCompressedResource
Returns the last modified passed into constructor.
readLastModified() - Method in class fnug.resource.DefaultResource
Returns the last modified date of the file.
readLastModifiedAllowed() - Method in class fnug.resource.DefaultResource
Tells if we are allowed to check the last modified date.
resolve(String) - Method in interface fnug.resource.Bundle
Resolves a resource under this bundle's base path (see BundleConfig.basePath() Resource.getBasePath().
resolve(String) - Method in class fnug.resource.DefaultBundle
Resolves a resource under this bundle's base path (see BundleConfig.basePath() Resource.getBasePath().
resolve(String) - Method in class fnug.resource.ResourceResolver
Resolves the give path.
Resource - Interface in fnug.resource
Abstraction of a file with a name, bytes and last modified date.
ResourceCollection - Interface in fnug.resource
Collection of resources that are associated with a Bundle.
ResourceResolver - Class in fnug.resource
Entry point for resource resolving.
ResourceResolver(List<Resource>) - Constructor for class fnug.resource.ResourceResolver
Constructs a resolver from the given list of resources pointing out config files.
ResourceResolver() - Constructor for class fnug.resource.ResourceResolver
Empty constructor for test cases.
ResourceServlet - Class in fnug
Servlet serving resources.
ResourceServlet() - Constructor for class fnug.ResourceServlet
 
rm(File) - Static method in class fnug.util.IOUtils
Recursively remove the given file.

S

service(HttpServletRequest, HttpServletResponse) - Method in class fnug.ResourceServlet
 
setBundle(Bundle) - Method in class fnug.resource.AbstractCompiledResource
(Optionally) sets the bundle.
setConfigs(Config...) - Method in class fnug.resource.ResourceResolver
Sets the configs to use.
setNoJsLint(boolean) - Method in class fnug.config.GlobalConfig
 
setNoModify(boolean) - Method in class fnug.config.GlobalConfig
 
setPrecompile(boolean) - Method in class fnug.config.GlobalConfig
 
setThreadLocal() - Method in class fnug.resource.ResourceResolver
Must be called before using the ResourceResolver to bind this instance of the resolver to the currently executing thread.
setThreadLocal(ResourceResolver) - Static method in class fnug.resource.ResourceResolver
Sets the thread local instance to use.
spool(InputStream, OutputStream) - Static method in class fnug.util.IOUtils
Copies all bytes of the input stream to the output stream.

T

Tarjan - Class in fnug.resource
Implementation of Tarjan's strongly connected components algorithm.
Tarjan(List<Resource>, boolean) - Constructor for class fnug.resource.Tarjan
Performs a tarjan's calculation of the given resources.
Tarjan(Resource...) - Constructor for class fnug.resource.Tarjan
Same as Tarjan.Tarjan(List, boolean), with checkModified set to false,but provided as array.
ToServe - Interface in fnug.servlet
 
ToServeBundle - Class in fnug.servlet
 
ToServeBundle(ObjectMapper, Bundle, String) - Constructor for class fnug.servlet.ToServeBundle
 
ToServeResource - Class in fnug.servlet
 
ToServeResource(Resource, String) - Constructor for class fnug.servlet.ToServeResource
 
toString() - Method in class fnug.resource.AbstractResource
Returns AbstractResource.getPath().

U

UTF_8 - Static variable in class fnug.ResourceServlet
 

A B C D E F G H I J L M N P R S T U

Copyright © 2012. All Rights Reserved.