A C E F G I J L O P S T U W

A

AbstractCompilableFile - Class in org.bbqjs.compiler
Interrogates passed JavaScript files for their include statements.
AbstractCompilableFile(URL, String[]) - Constructor for class org.bbqjs.compiler.AbstractCompilableFile
 
AbstractCompiler<C extends CompilableFile> - Class in org.bbqjs.compiler
 
AbstractCompiler(String[]) - Constructor for class org.bbqjs.compiler.AbstractCompiler
 
afterWrittenLibrariesToOutputStream(List<C>, OutputStream) - Method in class org.bbqjs.compiler.AbstractCompiler
Override this method to perform any post processing or cleanup.
afterWrittenLibrariesToOutputStream(List<CompilableJavaScriptFile>, OutputStream) - Method in class org.bbqjs.compiler.javascript.JavaScriptCompiler
 

C

ClassFileNotFoundException - Exception in org.bbqjs.compiler.exceptions
 
ClassFileNotFoundException(String) - Constructor for exception org.bbqjs.compiler.exceptions.ClassFileNotFoundException
 
ClassFileNotFoundException(String, Throwable) - Constructor for exception org.bbqjs.compiler.exceptions.ClassFileNotFoundException
 
CompilableCSSFile - Class in org.bbqjs.compiler.css
 
CompilableCSSFile(URL, URL, String, String[]) - Constructor for class org.bbqjs.compiler.css.CompilableCSSFile
 
CompilableFile - Interface in org.bbqjs.compiler
I am a compilable file.
CompilableJavaScriptFile - Class in org.bbqjs.compiler.javascript
 
CompilableJavaScriptFile(URL, String, String[]) - Constructor for class org.bbqjs.compiler.javascript.CompilableJavaScriptFile
 
CompilableLanguageFile - Class in org.bbqjs.compiler.language
 
CompilableLanguageFile(String, URL, Locale, Locale, String[]) - Constructor for class org.bbqjs.compiler.language.CompilableLanguageFile
 
CompilationFailureException - Exception in org.bbqjs.compiler.exceptions
 
CompilationFailureException(Throwable) - Constructor for exception org.bbqjs.compiler.exceptions.CompilationFailureException
 
CompilationFailureException(String, Throwable) - Constructor for exception org.bbqjs.compiler.exceptions.CompilationFailureException
 
CompilationFailureException(String) - Constructor for exception org.bbqjs.compiler.exceptions.CompilationFailureException
 
compile(URL, String, String[]) - Method in class org.bbqjs.compiler.AbstractCompiler
 
compile(URL, String, String[]) - Method in interface org.bbqjs.compiler.Compiler
Returns a string of the compiled source of the given input file.
compile(URL, String, OutputStream, String[]) - Method in interface org.bbqjs.compiler.Compiler
Writes the compiled form of the input file into the passed output stream.
compile(URL, String, OutputStream, String[]) - Method in class org.bbqjs.compiler.css.CSSCompiler
 
compile(URL, String, OutputStream, String[]) - Method in class org.bbqjs.compiler.javascript.JavaScriptCompiler
 
compile(URL, String, OutputStream, String[]) - Method in class org.bbqjs.compiler.language.LanguageCompiler
 
CompiledJavaScriptFile - Class in org.bbqjs.compiler.language.check
This class represents a compiled JavaScript file - we use it to ensure that it contains the use of a given language translation.
CompiledJavaScriptFile() - Constructor for class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
CompiledJavaScriptFile(File) - Constructor for class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
Compiler - Interface in org.bbqjs.compiler
I am a compiler.
compileToOutputStream(C, OutputStream) - Method in class org.bbqjs.compiler.AbstractCompiler
Writes the target file and all files included by the target file into the output stream
contains(String) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
containsArray(String) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
contents - Variable in class org.bbqjs.compiler.AbstractCompilableFile
Holds contents of file after includes
createNamespace(String, Map<String, Map<String, Object>>) - Method in class org.bbqjs.compiler.javascript.JavaScriptCompiler
Builds a tree representing all the package names used by the source file and the files it includes
createProperties(URL, String[]) - Method in class org.bbqjs.compiler.language.LanguageCompiler
 
CSSCompiler - Class in org.bbqjs.compiler.css
 
CSSCompiler(String, String[]) - Constructor for class org.bbqjs.compiler.css.CSSCompiler
 

E

encounteredInclude(String) - Method in class org.bbqjs.compiler.AbstractCompilableFile
 
encounteredInclude(String, URL) - Method in class org.bbqjs.compiler.AbstractCompilableFile
 
encounteredInclude(String, URL) - Method in class org.bbqjs.compiler.css.CompilableCSSFile
 
encounteredInclude(String, URL) - Method in class org.bbqjs.compiler.javascript.CompilableJavaScriptFile
 
encounteredInclude(String, URL) - Method in class org.bbqjs.compiler.language.CompilableLanguageFile
 
equals(Object) - Method in class org.bbqjs.compiler.AbstractCompilableFile
 

F

fileNameWithoutExtension(File) - Static method in class org.bbqjs.compiler.util.Utils
 
findFile(URL, String) - Method in class org.bbqjs.compiler.css.CSSCompiler
 
findFile(String, String[]) - Static method in class org.bbqjs.compiler.util.Utils
 
findFile(String, String) - Static method in class org.bbqjs.compiler.util.Utils
 
findFile(String, String, Locale, String) - Static method in class org.bbqjs.compiler.util.Utils
 
findFileFromFile(String, String) - Static method in class org.bbqjs.compiler.util.Utils
 
findFileOnClassPath(String) - Static method in class org.bbqjs.compiler.util.Utils
 
findIncludes(URL) - Method in class org.bbqjs.compiler.AbstractCompilableFile
 
findResource(String, Locale) - Method in class org.bbqjs.compiler.language.CompilableLanguageFile
 

G

getArrayString(String) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
getContents() - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
getFileContents(String) - Static method in class org.bbqjs.compiler.util.Utils
 
getFileContents(File) - Static method in class org.bbqjs.compiler.util.Utils
 
getFileContents(URL) - Static method in class org.bbqjs.compiler.util.Utils
 
getFileContents(InputStream) - Static method in class org.bbqjs.compiler.util.Utils
 
getFilePath() - Method in class org.bbqjs.compiler.AbstractCompilableFile
 
getFilePath() - Method in interface org.bbqjs.compiler.CompilableFile
Returns the path to this file.
getIncludedFiles() - Method in class org.bbqjs.compiler.AbstractCompilableFile
 
getIncludedFiles() - Method in interface org.bbqjs.compiler.CompilableFile
Returns a list of files included by this source file.
getJavaScriptClassName(URL, String) - Static method in class org.bbqjs.compiler.util.Utils
 
getLanguageTranslations() - Method in class org.bbqjs.compiler.language.CompilableLanguageFile
 
getLanguageTranslations() - Method in interface org.bbqjs.compiler.language.LanguageFile
 
getName() - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
getPackageName() - Method in class org.bbqjs.compiler.javascript.CompilableJavaScriptFile
 

I

includedFiles - Variable in class org.bbqjs.compiler.AbstractCompilableFile
List of files included by this file

J

JavaScriptCompiler - Class in org.bbqjs.compiler.javascript
 
JavaScriptCompiler(String[]) - Constructor for class org.bbqjs.compiler.javascript.JavaScriptCompiler
 

L

LanguageCompiler - Class in org.bbqjs.compiler.language
 
LanguageCompiler(Locale, Locale, String[]) - Constructor for class org.bbqjs.compiler.language.LanguageCompiler
 
LanguageFile - Interface in org.bbqjs.compiler.language
 
libraries - Variable in class org.bbqjs.compiler.AbstractCompiler
 
loadFromClassPath(String, Locale) - Method in class org.bbqjs.compiler.language.CompilableLanguageFile
 
loadFromFile(String, Locale) - Method in class org.bbqjs.compiler.language.CompilableLanguageFile
 

O

occurrencesOf(String) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
org.bbqjs.compiler - package org.bbqjs.compiler
 
org.bbqjs.compiler.css - package org.bbqjs.compiler.css
 
org.bbqjs.compiler.exceptions - package org.bbqjs.compiler.exceptions
 
org.bbqjs.compiler.javascript - package org.bbqjs.compiler.javascript
 
org.bbqjs.compiler.language - package org.bbqjs.compiler.language
 
org.bbqjs.compiler.language.check - package org.bbqjs.compiler.language.check
 
org.bbqjs.compiler.util - package org.bbqjs.compiler.util
 

P

parseInputFile(C, List<C>) - Method in class org.bbqjs.compiler.AbstractCompiler
Gets the passed CompilableFile to tell us which files it expects to include and recursively adds the include file to the list of files to write into the output stream

S

setContents(String) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
setFile(File) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
setFile(URL) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
setLogger(Logger) - Static method in class org.bbqjs.compiler.AbstractCompilableFile
 
setLogger(Logger) - Static method in class org.bbqjs.compiler.css.CompilableCSSFile
 
setLogger(Logger) - Static method in class org.bbqjs.compiler.css.CSSCompiler
 
setLogger(Logger) - Static method in class org.bbqjs.compiler.javascript.CompilableJavaScriptFile
 
setLogger(Logger) - Static method in class org.bbqjs.compiler.javascript.JavaScriptCompiler
 
setLogger(Logger) - Static method in class org.bbqjs.compiler.language.CompilableLanguageFile
 
setLogger(Logger) - Static method in class org.bbqjs.compiler.language.LanguageCompiler
 
setName(String) - Method in class org.bbqjs.compiler.language.check.CompiledJavaScriptFile
 
sourceRoots - Variable in class org.bbqjs.compiler.AbstractCompilableFile
Java by default caches everything accessed via the classpath - this is fine for production, but if we are developing it means, for example, that if you are changing js/css files, the compiler servlets in the spring integration package will not be able to pick up your changes.

T

toString() - Method in class org.bbqjs.compiler.AbstractCompilableFile
 

U

Utils - Class in org.bbqjs.compiler.util
 
Utils() - Constructor for class org.bbqjs.compiler.util.Utils
 

W

writePackageNames(Map<String, Map<String, Object>>, int, String, OutputStream) - Method in class org.bbqjs.compiler.javascript.JavaScriptCompiler
Prints the package tree out into the passed output stream
writeTo(OutputStream) - Method in class org.bbqjs.compiler.AbstractCompilableFile
 
writeTo(OutputStream) - Method in interface org.bbqjs.compiler.CompilableFile
Calling this method will cause the contents of the file to be written into the output stream.
writeTo(OutputStream) - Method in class org.bbqjs.compiler.css.CompilableCSSFile
 
writeTo(OutputStream) - Method in class org.bbqjs.compiler.language.CompilableLanguageFile
 
writeToOutputStream(List<C>, OutputStream) - Method in class org.bbqjs.compiler.AbstractCompiler
Will write the list of files out into the passed output stream, along with any libraries that have been requested to be included.

A C E F G I J L O P S T U W

Copyright © 2012. All Rights Reserved.