A B C D E F G H I J K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractRepository - Class in org.ringojs.repository
-
Provides common methods and fields for the default implementations of the repository interface
- AbstractRepository() - Constructor for class org.ringojs.repository.AbstractRepository
- AbstractResource - Class in org.ringojs.repository
- AbstractResource() - Constructor for class org.ringojs.repository.AbstractResource
- addClasspathWildcard(File, boolean) - Method in class org.ringojs.tools.launcher.RingoClassLoader
- addDependency(ReloadableScript) - Method in class org.ringojs.engine.ReloadableScript
-
Register a script that this script depends on.
- addListener(String, Object) - Method in class org.ringojs.wrappers.EventAdapter
- addModuleLoader(String, Object) - Method in class org.ringojs.engine.RhinoEngine
- addModuleRepository(Repository) - Method in class org.ringojs.engine.RingoConfig
-
Add a repository to the module search path.
- addShutdownHook(Scriptable, boolean) - Method in class org.ringojs.engine.RhinoEngine
-
Add a callback to be invoked on shutdown.
- addSyncListener(String, Object) - Method in class org.ringojs.wrappers.EventAdapter
- addToClasspath(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.engine.RingoGlobal
- addToClasspath(Trackable) - Method in class org.ringojs.engine.RhinoEngine
- asJavaObject(Object) - Method in class org.ringojs.engine.RhinoEngine
-
Get a wrapper for an object that exposes it as Java object to JavaScript.
- asJavaString(Object) - Method in class org.ringojs.engine.RhinoEngine
-
Get a wrapper for a string that exposes the java.lang.String methods to JavaScript This is useful for accessing strings as java.lang.String without the cost of creating a new instance.
- assertHelper(Object, Object...) - Static method in class org.ringojs.util.ScriptUtils
-
Helper for console.assert().
- attach() - Method in class org.ringojs.util.DebuggerBase
- attach(Object) - Method in class org.ringojs.util.DebuggerBase
B
- baseName - Variable in class org.ringojs.repository.AbstractResource
- Binary - Class in org.ringojs.wrappers
-
A wrapper around a Java byte array compliant to the Binary/ByteArray/ByteString classes defined in the Binary/B proposal.
- Binary() - Constructor for class org.ringojs.wrappers.Binary
- Binary(Scriptable, Binary.Type, byte[]) - Constructor for class org.ringojs.wrappers.Binary
- Binary(Scriptable, Binary.Type, byte[], int, int) - Constructor for class org.ringojs.wrappers.Binary
- Binary(Scriptable, Binary.Type, int) - Constructor for class org.ringojs.wrappers.Binary
- Binary(Binary.Type) - Constructor for class org.ringojs.wrappers.Binary
- byteAt(Object) - Method in class org.ringojs.wrappers.Binary
C
- call(Context, Scriptable, Scriptable, Object[]) - Method in class org.ringojs.engine.Require
- Callback - Class in org.ringojs.engine
-
This class represents a JavaScript callback function.
- Callback(Scriptable, RhinoEngine, boolean) - Constructor for class org.ringojs.engine.Callback
- cancel(Future<?>) - Method in class org.ringojs.engine.RingoWorker
-
Cancel a scheduled call.
- CaseInsensitiveMap<V> - Class in org.ringojs.util
-
Map wrapper that makes a string-keyed map case insensitive while still preserving case in key collections.
- CaseInsensitiveMap() - Constructor for class org.ringojs.util.CaseInsensitiveMap
- CaseInsensitiveMap(Map<String, V>) - Constructor for class org.ringojs.util.CaseInsensitiveMap
- charAt(Object) - Method in class org.ringojs.wrappers.Binary
- charCodeAt(Object) - Method in class org.ringojs.wrappers.Binary
- checkArguments(Object[], int, int) - Static method in class org.ringojs.util.ScriptUtils
-
Make sure that number of arguments is valid.
- classToSignature(Class<?>) - Static method in class org.ringojs.wrappers.EventAdapter
-
Convert Java class to "Lname-with-dots-replaced-by-slashes;" form suitable for use as JVM type signatures.
- clear() - Method in class org.ringojs.util.CaseInsensitiveMap
- close() - Method in class org.ringojs.wrappers.Stream
- closed() - Method in class org.ringojs.wrappers.Stream
- compileScript(Context) - Method in class org.ringojs.engine.ReloadableScript
-
Get a script from a single script file.
- concat(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.wrappers.Binary
- construct(Context, Object[], Function, boolean) - Static method in class org.ringojs.wrappers.Binary
- containsKey(Object) - Method in class org.ringojs.util.CaseInsensitiveMap
- containsValue(Object) - Method in class org.ringojs.util.CaseInsensitiveMap
- copy(int, int, Binary, Object) - Method in class org.ringojs.wrappers.Binary
- countScheduledTasks() - Method in class org.ringojs.engine.RingoWorker
-
Count the number of scheduled calls in this worker.
- createChildRepository(String) - Method in class org.ringojs.repository.AbstractRepository
-
Create a new child reposiotory with the given name.
- createChildRepository(String) - Method in class org.ringojs.repository.FileRepository
-
Create a child repository with the given name
- createChildRepository(String) - Method in class org.ringojs.repository.WebappRepository
- createChildRepository(String) - Method in class org.ringojs.repository.ZipRepository
- createClassLoader(File) - Static method in class org.ringojs.tools.launcher.Main
-
Create a server-wide ClassLoader from our install directory.
- createContextData() - Method in class org.ringojs.util.DebuggerBase
- createDebugger() - Method in class org.ringojs.util.DebuggerBase
- createSandbox(RingoConfig, Map<String, Object>) - Method in class org.ringojs.engine.RhinoEngine
-
Create a sandboxed scripting engine with the same install directory as this and the given module paths, global properties, class shutter and sealing
D
- DebuggerBase - Class in org.ringojs.util
-
A base class for Debuggers and Profilers implemented in Javascript.
- DebuggerBase() - Constructor for class org.ringojs.util.DebuggerBase
- decodeToString(Object) - Method in class org.ringojs.wrappers.Binary
- defineClass(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.engine.RingoGlobal
- defineEntity(Scriptable, String, Object) - Static method in class org.ringojs.wrappers.Storable
- defineHostClass(Class<Scriptable>) - Method in class org.ringojs.engine.RhinoEngine
-
Define a Javascript host object implemented by the given class.
- delete(int) - Method in class org.ringojs.wrappers.ScriptableList
- delete(int) - Method in class org.ringojs.wrappers.ScriptableMap
- delete(String) - Method in class org.ringojs.wrappers.ScriptableMap
- delete(String) - Method in class org.ringojs.wrappers.ScriptableWrapper
- delete(String) - Method in class org.ringojs.wrappers.Storable
- destroy() - Method in class org.ringojs.tools.launcher.Main
- destroy() - Method in class org.ringojs.tools.RingoRunner
- detach() - Method in class org.ringojs.util.DebuggerBase
- directory - Variable in class org.ringojs.repository.FileRepository
- dispose() - Method in class org.ringojs.tools.RingoDebugger
E
- emit(String, Object...) - Method in class org.ringojs.wrappers.EventAdapter
- emit(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.wrappers.EventAdapter
- ensureLength(int) - Method in class org.ringojs.wrappers.Binary
- enterAsyncTask() - Method in class org.ringojs.engine.RhinoEngine
- entrySet() - Method in class org.ringojs.util.CaseInsensitiveMap
- equals(Object) - Method in class org.ringojs.engine.ReloadableScript
-
Equal check delegates to source.
- equals(Object) - Method in class org.ringojs.repository.FileRepository
- equals(Object) - Method in class org.ringojs.repository.FileResource
- equals(Object) - Method in class org.ringojs.repository.WebappRepository
- equals(Object) - Method in class org.ringojs.repository.WebappResource
- equals(Object) - Method in class org.ringojs.repository.ZipRepository
- equals(Object) - Method in class org.ringojs.repository.ZipResource
- equals(Object) - Method in class org.ringojs.util.CaseInsensitiveMap
- equalsCallback(Scriptable) - Method in class org.ringojs.engine.Callback
-
Tests whether the argument is a callback and represents the same function as this callback.
- equivalentValues(Object) - Method in class org.ringojs.engine.ModuleObject
- equivalentValues(Object) - Method in class org.ringojs.wrappers.Storable
-
Custom
==
operator. - escapeHtml(String) - Static method in class org.ringojs.util.StringUtils
-
Escape the string to make it safe for use within an HTML document.
- evaluate(Scriptable, Context, RingoWorker) - Method in class org.ringojs.engine.ReloadableScript
-
Evaluate the script on a module scope and return the result
- evaluateExpression(String) - Method in class org.ringojs.engine.RhinoEngine
-
Evaluate an expression from the command line.
- evaluateScript(Context, ReloadableScript, Scriptable) - Method in class org.ringojs.engine.RingoWorker
-
Evaluate a script within a given scope.
- EventAdapter - Class in org.ringojs.wrappers
- EventAdapter() - Constructor for class org.ringojs.wrappers.EventAdapter
- EventAdapter(RhinoEngine) - Constructor for class org.ringojs.wrappers.EventAdapter
- exists() - Method in class org.ringojs.repository.FileRepository
-
Check whether the repository exists.
- exists() - Method in class org.ringojs.repository.FileResource
- exists() - Method in class org.ringojs.repository.StringResource
- exists() - Method in interface org.ringojs.repository.Trackable
-
Checks wether this resource actually (still) exists
- exists() - Method in class org.ringojs.repository.WebappRepository
- exists() - Method in class org.ringojs.repository.WebappResource
- exists() - Method in class org.ringojs.repository.ZipRepository
-
Checks wether this resource actually (still) exists
- exists() - Method in class org.ringojs.repository.ZipResource
- exitAsyncTask() - Method in class org.ringojs.engine.RhinoEngine
F
- FileRepository - Class in org.ringojs.repository
-
Repository implementation for directories providing file resources
- FileRepository(File) - Constructor for class org.ringojs.repository.FileRepository
-
Constructs a FileRepository using the given directory as top-level repository
- FileRepository(File, FileRepository) - Constructor for class org.ringojs.repository.FileRepository
-
Constructs a FileRepository using the given directory and top-level repository
- FileRepository(String) - Constructor for class org.ringojs.repository.FileRepository
-
Constructs a FileRepository using the given argument
- FileResource - Class in org.ringojs.repository
- FileResource(File) - Constructor for class org.ringojs.repository.FileResource
- FileResource(File, FileRepository) - Constructor for class org.ringojs.repository.FileResource
- FileResource(String) - Constructor for class org.ringojs.repository.FileResource
- findRepository(String, Repository) - Method in class org.ringojs.engine.RhinoEngine
-
Search for a repository in the local path, or the main repository path.
- findResource(String, ModuleLoader[], Repository) - Method in class org.ringojs.engine.RhinoEngine
-
Search for a resource in a local path, or the main repository path.
- findResources(String, boolean) - Method in class org.ringojs.engine.RhinoEngine
-
Get a list of all child resources for the given path relative to our script repository.
- finishInit(Scriptable, FunctionObject, Scriptable) - Static method in class org.ringojs.wrappers.Binary
- flush() - Method in class org.ringojs.wrappers.Stream
G
- get(int, Scriptable) - Method in class org.ringojs.wrappers.Binary
- get(int, Scriptable) - Method in class org.ringojs.wrappers.ScriptableList
- get(int, Scriptable) - Method in class org.ringojs.wrappers.ScriptableMap
- get(Object) - Method in class org.ringojs.util.CaseInsensitiveMap
- get(Object) - Method in class org.ringojs.wrappers.Binary
- get(String, Scriptable) - Method in class org.ringojs.wrappers.ScriptableList
- get(String, Scriptable) - Method in class org.ringojs.wrappers.ScriptableMap
- get(String, Scriptable) - Method in class org.ringojs.wrappers.ScriptableWrapper
- get(String, Scriptable) - Method in class org.ringojs.wrappers.Storable
- getAdapterClass(Object[], Map<?, ?>) - Static method in class org.ringojs.wrappers.EventAdapter
- getArguments() - Method in class org.ringojs.engine.RhinoEngine
-
Get the script arguments as object array suitable for use with Context.newArray().
- getArguments() - Method in class org.ringojs.engine.RingoConfig
- getArity() - Method in class org.ringojs.engine.Require
- getBaseName() - Method in class org.ringojs.repository.AbstractResource
- getBaseName() - Method in interface org.ringojs.repository.Resource
-
Returns the short name of the resource with the file extension (everything following the last dot character) cut off.
- getBaseName() - Method in class org.ringojs.repository.StringResource
- getBooleanParameter(ServletConfig, String, boolean) - Method in class org.ringojs.jsgi.JsgiServlet
- getBootstrapScripts() - Method in class org.ringojs.engine.RingoConfig
- getBytes() - Method in class org.ringojs.wrappers.Binary
- getCharset() - Method in class org.ringojs.engine.RhinoEngine
- getCharset() - Method in class org.ringojs.engine.RingoConfig
- getChecksum() - Method in class org.ringojs.engine.ModuleScope
- getChecksum() - Method in class org.ringojs.engine.ReloadableScript
-
Get the checksum of the script.
- getChecksum() - Method in class org.ringojs.repository.AbstractResource
- getChecksum() - Method in class org.ringojs.repository.FileRepository
-
Checksum of the repository and all its contained resources.
- getChecksum() - Method in class org.ringojs.repository.StringResource
- getChecksum() - Method in interface org.ringojs.repository.Trackable
-
Checksum of the resource content.
- getChecksum() - Method in class org.ringojs.repository.WebappRepository
- getChecksum() - Method in class org.ringojs.repository.ZipRepository
- getChecksum() - Method in class org.ringojs.repository.ZipResource
- getChildRepository(String) - Method in class org.ringojs.repository.AbstractRepository
-
Get a child repository with the given name
- getChildRepository(String) - Method in interface org.ringojs.repository.Repository
-
Get a child repository with the given path
- getClassLoader() - Method in class org.ringojs.engine.RhinoEngine
- getClassName() - Method in class org.ringojs.engine.ModuleObject
- getClassName() - Method in class org.ringojs.jsgi.JsgiRequest
-
Return the name of the class.
- getClassName() - Method in class org.ringojs.wrappers.Binary
- getClassName() - Method in class org.ringojs.wrappers.EventAdapter
- getClassName() - Method in class org.ringojs.wrappers.ScriptableList
- getClassName() - Method in class org.ringojs.wrappers.ScriptableMap
- getClassName() - Method in class org.ringojs.wrappers.ScriptableWrapper
- getClassName() - Method in class org.ringojs.wrappers.Storable
- getClassName() - Method in class org.ringojs.wrappers.Stream
-
Return the name of the class.
- getClassOrObjectProto(Scriptable, String) - Static method in class org.ringojs.util.ScriptUtils
-
Return a class prototype, or the object prototype if the class is not defined.
- getClassShutter() - Method in class org.ringojs.engine.RingoConfig
- getCommandLineArguments() - Method in class org.ringojs.engine.RhinoEngine
-
Get the list of command line arguments
- getConfig() - Method in class org.ringojs.engine.RhinoEngine
- getContent() - Method in class org.ringojs.repository.AbstractResource
- getContent() - Method in interface org.ringojs.repository.Resource
-
Returns the content of the resource
- getContent() - Method in class org.ringojs.repository.StringResource
- getContent(String) - Method in class org.ringojs.repository.AbstractResource
- getContent(String) - Method in interface org.ringojs.repository.Resource
-
Returns the content of the resource in a given encoding
- getContent(String) - Method in class org.ringojs.repository.StringResource
- getContextData() - Method in class org.ringojs.util.DebuggerBase
- getContextFactory() - Method in class org.ringojs.engine.RhinoEngine
- getCurrentWorker(Scriptable) - Method in class org.ringojs.engine.RhinoEngine
-
Get the worker associated with the current thread, or the given scope or function argument if provided.
- getDebug() - Method in class org.ringojs.engine.RingoConfig
- getDefaultValue(Class) - Method in class org.ringojs.engine.ModuleScope
- getDefaultValue(Class) - Method in class org.ringojs.wrappers.ScriptableList
- getDefaultValue(Class) - Method in class org.ringojs.wrappers.ScriptableMap
- getDirectory() - Method in class org.ringojs.engine.ModuleObject
- getEngine() - Method in class org.ringojs.engine.RingoGlobal
- getEngine() - Method in class org.ringojs.engine.RingoWorker
-
Get the worker's engine.
- getEngine(Scriptable) - Static method in class org.ringojs.engine.RhinoEngine
-
Get the currently active RhinoEngine instance.
- getErrorListener() - Method in class org.ringojs.engine.RingoWorker
-
Get the current error listener for uncaught errors in this worker
- getErrors() - Method in class org.ringojs.engine.RingoWorker
-
Get a list of errors encountered in the last invocation of this worker.
- getExports() - Method in class org.ringojs.engine.ModuleScope
- getExtension() - Method in class org.ringojs.engine.ModuleLoader
- getFrame(Context, DebuggableScript) - Method in class org.ringojs.util.DebuggerBase
- getHostClasses() - Method in class org.ringojs.engine.RingoConfig
-
Get the host classes to be added to the Rhino engine.
- getHttpVersion() - Method in class org.ringojs.jsgi.JsgiRequest
- getId() - Method in class org.ringojs.engine.ModuleObject
- getId() - Method in class org.ringojs.wrappers.Storable
- getIds() - Method in class org.ringojs.wrappers.ScriptableList
- getIds() - Method in class org.ringojs.wrappers.ScriptableMap
- getIds() - Method in class org.ringojs.wrappers.Storable
- getImpl() - Method in class org.ringojs.wrappers.EventAdapter
- getInputStream() - Method in class org.ringojs.repository.FileResource
- getInputStream() - Method in interface org.ringojs.repository.Resource
-
Returns an input stream to the content of the resource
- getInputStream() - Method in class org.ringojs.repository.StringResource
- getInputStream() - Method in class org.ringojs.repository.WebappResource
- getInputStream() - Method in class org.ringojs.repository.ZipResource
- getInputStream() - Method in class org.ringojs.wrappers.Stream
- getIntParameter(ServletConfig, String, int) - Method in class org.ringojs.jsgi.JsgiServlet
- getJavaScriptStack(Throwable) - Static method in class org.ringojs.util.StackUtils
- getKey() - Method in class org.ringojs.wrappers.Storable
- getLanguageVersion() - Method in class org.ringojs.engine.RingoConfig
-
Get the desired JavaScript langauge version
- getLength() - Method in class org.ringojs.repository.FileResource
- getLength() - Method in interface org.ringojs.repository.Resource
-
Returns the length of the resource's content
- getLength() - Method in class org.ringojs.repository.StringResource
- getLength() - Method in class org.ringojs.repository.WebappResource
- getLength() - Method in class org.ringojs.repository.ZipResource
- getLength() - Method in class org.ringojs.wrappers.Binary
- getLineNumber() - Method in class org.ringojs.repository.AbstractResource
- getLineNumber() - Method in interface org.ringojs.repository.Resource
-
Return the current line number of this resource.
- getLineNumber() - Method in class org.ringojs.repository.StringResource
- getList() - Method in class org.ringojs.wrappers.ScriptableList
- getMain(ScriptableObject) - Method in class org.ringojs.engine.Require
- getMainErrors() - Method in class org.ringojs.engine.RhinoEngine
-
Get the list of errors encountered by the main worker.
- getMainModule() - Method in class org.ringojs.engine.RhinoEngine
-
Get the name of the main script as module name, if any
- getMainModule() - Method in class org.ringojs.engine.RingoConfig
-
Get the module name of the main resource of the configuration.
- getMainModuleScope() - Method in class org.ringojs.engine.RhinoEngine
-
Get the main scrip's module scope, if any
- getMainResource() - Method in class org.ringojs.engine.RingoConfig
-
Get the main script resource resolved by calling
RingoConfig.setMainScript(String)
. - getMainWorker() - Method in class org.ringojs.engine.RhinoEngine
-
Get the main worker running the main script.
- getMap() - Method in class org.ringojs.wrappers.ScriptableMap
- getMapArgument(Object[], int, boolean) - Static method in class org.ringojs.util.ScriptUtils
-
Get an argument as Map
- getModuleLoader(Resource) - Method in class org.ringojs.engine.RhinoEngine
- getModuleName() - Method in class org.ringojs.engine.ModuleScope
- getModuleName() - Method in class org.ringojs.repository.AbstractRepository
-
Utility method to get the name for the module defined by this resource.
- getModuleName() - Method in class org.ringojs.repository.AbstractResource
-
Utility method to get the name for the module defined by this resource.
- getModuleName() - Method in class org.ringojs.repository.StringResource
- getModuleName() - Method in interface org.ringojs.repository.Trackable
-
Utility method to get the name for the module defined by this resource.
- getModuleObject() - Method in class org.ringojs.engine.ModuleScope
- getName() - Method in class org.ringojs.repository.AbstractRepository
-
Get the local name that identifies this repository locally within its parent repository
- getName() - Method in class org.ringojs.repository.AbstractResource
- getName() - Method in class org.ringojs.repository.StringResource
- getName() - Method in interface org.ringojs.repository.Trackable
-
Returns the short name of the resource.
- getNestedChecksum(Set<ReloadableScript>) - Method in class org.ringojs.engine.ReloadableScript
-
Get the recursive checksum of this script as a dependency.
- getNormalizedUrl(DebuggableScript) - Method in class org.ringojs.tools.RingoDebugger
- getObjectArgument(Object[], int, boolean) - Static method in class org.ringojs.util.ScriptUtils
-
Get an argument as object
- getOptimizationLevel() - Method in class org.ringojs.engine.RhinoEngine
-
Get the current Rhino optimization level
- getOptLevel() - Method in class org.ringojs.engine.RingoConfig
-
Get the Rhino optimization level
- getOutputStream() - Method in class org.ringojs.wrappers.Stream
- getParentRepository() - Method in class org.ringojs.repository.AbstractRepository
-
Get this repository's parent repository.
- getParentRepository() - Method in class org.ringojs.repository.AbstractResource
- getParentRepository() - Method in class org.ringojs.repository.FileRepository
-
Get this repository's parent repository.
- getParentRepository() - Method in class org.ringojs.repository.StringResource
- getParentRepository() - Method in interface org.ringojs.repository.Trackable
-
Returns the parent repository containing this resource
- getParentRepository(Scriptable) - Method in class org.ringojs.engine.RhinoEngine
-
Get the repository associated with the scope or one of its prototypes
- getPath() - Method in class org.ringojs.engine.ModuleObject
- getPath() - Method in class org.ringojs.repository.AbstractRepository
-
Get the full name that identifies this repository globally
- getPath() - Method in class org.ringojs.repository.AbstractResource
- getPath() - Method in class org.ringojs.repository.StringResource
- getPath() - Method in interface org.ringojs.repository.Trackable
-
Returns the path of the resource.
- getProperty(Scriptable, String) - Method in class org.ringojs.engine.RingoWorker
- getQueryString() - Method in class org.ringojs.jsgi.JsgiRequest
- getReader() - Method in class org.ringojs.repository.AbstractResource
- getReader() - Method in interface org.ringojs.repository.Resource
-
Returns a reader for the resource
- getReader() - Method in class org.ringojs.repository.StringResource
- getReader(String) - Method in class org.ringojs.repository.AbstractResource
- getReader(String) - Method in interface org.ringojs.repository.Resource
-
Returns a reader for the resource using the given character encoding
- getReader(String) - Method in class org.ringojs.repository.StringResource
- getRelativePath() - Method in class org.ringojs.repository.AbstractRepository
-
Get the path of this repository relative to its root repository.
- getRelativePath() - Method in class org.ringojs.repository.AbstractResource
-
Get the path of this resource relative to its root repository.
- getRelativePath() - Method in interface org.ringojs.repository.Repository
-
Get the path of this repository relative to its root repository.
- getRelativePath() - Method in interface org.ringojs.repository.Resource
-
Get the path of this resource relative to its root repository.
- getRelativePath() - Method in class org.ringojs.repository.StringResource
- getRelativePath() - Method in interface org.ringojs.repository.Trackable
-
Get the path of this resource relative to its root repository.
- getRemoteHost() - Method in class org.ringojs.jsgi.JsgiRequest
- getRepositories() - Method in class org.ringojs.engine.RhinoEngine
-
Get the engine's module search path as a list of repositories
- getRepositories() - Method in class org.ringojs.engine.RingoConfig
-
Get a list of repositoris from the given ringoHome and ringoPath settings using the ringo.home and ringo.path system properties as fallback.
- getRepositories() - Method in class org.ringojs.repository.FileRepository
- getRepositories() - Method in interface org.ringojs.repository.Repository
-
Returns this repository's direct child repositories
- getRepositories() - Method in class org.ringojs.repository.WebappRepository
- getRepositories() - Method in class org.ringojs.repository.ZipRepository
- getRepository() - Method in class org.ringojs.engine.ModuleScope
- getRepository(String) - Method in class org.ringojs.engine.RingoConfig
-
Get a resource from our script repository
- getRepository(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.engine.RingoGlobal
- getResource(String) - Method in class org.ringojs.engine.RingoConfig
-
Get a resource from our script repository
- getResource(String) - Method in class org.ringojs.repository.AbstractRepository
-
Get a resource contained in this repository identified by the given local name.
- getResource(String) - Method in interface org.ringojs.repository.Repository
-
Returns a specific direct resource of the repository
- getResource(String, ModuleLoader[]) - Method in class org.ringojs.engine.RingoConfig
-
Get a resource from our script repository
- getResource(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.engine.RingoGlobal
- getResources() - Method in class org.ringojs.repository.AbstractRepository
- getResources() - Method in interface org.ringojs.repository.Repository
-
Get a list of resources contained in this repository identified by the given local name.
- getResources(boolean) - Method in class org.ringojs.repository.AbstractRepository
- getResources(boolean) - Method in interface org.ringojs.repository.Repository
-
Get a list of resources contained in this repository identified by the given local name.
- getResources(String, boolean) - Method in class org.ringojs.engine.RingoConfig
-
Get a list of all child resources for the given path relative to our script repository.
- getResources(String, boolean) - Method in class org.ringojs.repository.AbstractRepository
- getResources(String, boolean) - Method in interface org.ringojs.repository.Repository
-
Get a list of resources contained in this repository identified by the given local name.
- getResources(List<Resource>, boolean) - Method in class org.ringojs.repository.AbstractRepository
-
Add the repository's resources into the list, optionally descending into nested repositories.
- getResources(List<Resource>, boolean) - Method in class org.ringojs.repository.FileRepository
- getResources(List<Resource>, boolean) - Method in class org.ringojs.repository.WebappRepository
- getResources(List<Resource>, boolean) - Method in class org.ringojs.repository.ZipRepository
- getRingoHome() - Method in class org.ringojs.engine.RhinoEngine
-
Get the our installation directory.
- getRingoHome() - Method in class org.ringojs.engine.RingoConfig
-
Return the ringo install directory
- getRingoHome() - Static method in class org.ringojs.tools.launcher.Main
-
Get the Ringo install directory.
- getRootRepository() - Method in class org.ringojs.repository.AbstractRepository
-
Get the repository's root repository
- getRootRepository() - Method in class org.ringojs.repository.AbstractResource
- getRootRepository() - Method in class org.ringojs.repository.StringResource
- getRootRepository() - Method in interface org.ringojs.repository.Trackable
-
Returns the root repository of this resource
- getScope() - Method in class org.ringojs.engine.RhinoEngine
-
Get the engine's global shared scope
- getScript(String) - Method in class org.ringojs.engine.RhinoEngine
-
Resolves a type name to a script file within our script directory and returns a Scriptable evaluated to the file.
- getScript(String, Repository) - Method in class org.ringojs.engine.RhinoEngine
-
Resolves a type name to a script file within our script directory and returns a Scriptable evaluated to the file.
- getScript(Context, RingoWorker) - Method in class org.ringojs.engine.ReloadableScript
-
Get the actual compiled script.
- getScriptableArgument(Object[], int, boolean) - Static method in class org.ringojs.util.ScriptUtils
-
Get an argument as ScriptableObject
- getScriptFrame(Context, DebuggableScript) - Method in class org.ringojs.util.DebuggerBase
- getServerName() - Method in class org.ringojs.jsgi.JsgiRequest
- getServerPort() - Method in class org.ringojs.jsgi.JsgiRequest
- getShellScope(RingoWorker) - Method in class org.ringojs.engine.RhinoEngine
-
Return a shell scope for interactive evaluation
- getSignature(Class<?>[], Class<?>) - Static method in class org.ringojs.wrappers.EventAdapter
- getSource() - Method in class org.ringojs.engine.ModuleScope
- getSource() - Method in class org.ringojs.engine.ReloadableScript
-
Get the script's source resource.
- getSource() - Method in class org.ringojs.repository.Tracker
- getStrictVars() - Method in class org.ringojs.engine.RingoConfig
- getStringArgument(Object[], int, boolean) - Static method in class org.ringojs.util.ScriptUtils
-
Get an argument as string
- getStringParameter(ServletConfig, String, String) - Method in class org.ringojs.jsgi.JsgiServlet
- getStripShebang() - Method in class org.ringojs.repository.AbstractResource
- getStripShebang() - Method in interface org.ringojs.repository.Resource
-
Returns true if the input stream for this resource will look for a first line starting with the characters #! and suppress it if found
- getStripShebang() - Method in class org.ringojs.repository.StringResource
- getType() - Method in class org.ringojs.wrappers.Binary
- getType() - Method in class org.ringojs.wrappers.Storable
- getUri() - Method in class org.ringojs.engine.ModuleObject
- getUrl() - Method in class org.ringojs.repository.FileRepository
- getUrl() - Method in class org.ringojs.repository.FileResource
- getUrl() - Method in class org.ringojs.repository.StringResource
- getUrl() - Method in interface org.ringojs.repository.Trackable
-
Returns an url to the resource if the repository of this resource is able to provide urls.
- getUrl() - Method in class org.ringojs.repository.WebappRepository
- getUrl() - Method in class org.ringojs.repository.WebappResource
- getUrl() - Method in class org.ringojs.repository.ZipRepository
- getUrl() - Method in class org.ringojs.repository.ZipResource
- getUrlScheme() - Method in class org.ringojs.jsgi.JsgiRequest
- getWorker() - Method in class org.ringojs.engine.ModuleScope
- getWorker() - Method in class org.ringojs.engine.RhinoEngine
-
Get a new
RingoWorker
. - getWrapFactory() - Method in class org.ringojs.engine.RhinoEngine
-
Get the engine's WrapFactory.
- getWrapFactory() - Method in class org.ringojs.engine.RingoConfig
- getZipFile() - Method in class org.ringojs.repository.ZipRepository
-
Returns a java.util.zip.ZipFile for this repository.
H
- handleCompilationDone(Context, DebuggableScript, String) - Method in class org.ringojs.util.DebuggerBase
- has(int, Scriptable) - Method in class org.ringojs.wrappers.Binary
- has(int, Scriptable) - Method in class org.ringojs.wrappers.ScriptableList
- has(int, Scriptable) - Method in class org.ringojs.wrappers.ScriptableMap
- has(String, Scriptable) - Method in class org.ringojs.wrappers.ScriptableMap
- has(String, Scriptable) - Method in class org.ringojs.wrappers.ScriptableWrapper
- has(String, Scriptable) - Method in class org.ringojs.wrappers.Storable
- hasChanged() - Method in class org.ringojs.repository.Tracker
- hasFeature(Context, int) - Method in class org.ringojs.engine.RingoContextFactory
- hashCode() - Method in class org.ringojs.engine.ReloadableScript
-
Hash code delegates to source.
- hashCode() - Method in class org.ringojs.repository.FileRepository
- hashCode() - Method in class org.ringojs.repository.FileResource
- hashCode() - Method in class org.ringojs.repository.WebappRepository
- hashCode() - Method in class org.ringojs.repository.WebappResource
- hashCode() - Method in class org.ringojs.repository.ZipRepository
- hashCode() - Method in class org.ringojs.repository.ZipResource
- hashCode() - Method in class org.ringojs.util.CaseInsensitiveMap
- hasParentProtoProperties() - Method in class org.ringojs.engine.RingoConfig
-
Get the flag to enable __parent__ and __proto__ properties on JS objects
I
- indexOf(Object, Object, Object) - Method in class org.ringojs.wrappers.Binary
- init(ServletConfig) - Method in class org.ringojs.jsgi.JsgiServlet
- init(Object, Object) - Method in class org.ringojs.wrappers.Stream
- init(String[]) - Method in class org.ringojs.tools.launcher.Main
- init(String[]) - Method in class org.ringojs.tools.RingoRunner
- init(Context, RhinoEngine, boolean) - Method in class org.ringojs.engine.RingoGlobal
- init(Scriptable) - Static method in class org.ringojs.wrappers.ScriptableList
- init(Scriptable) - Static method in class org.ringojs.wrappers.ScriptableMap
- initArguments(Object[]) - Method in class org.ringojs.engine.RhinoEngine
-
Initialize and normalize the global variables and arguments on a thread scope.
- initPrototype(Scriptable) - Method in class org.ringojs.wrappers.ScriptableList
-
Set the prototype to the Array prototype so we can use array methds such as push, pop, shift, slice etc.
- initPrototype(Scriptable) - Method in class org.ringojs.wrappers.ScriptableMap
-
Set the prototype to the Object prototype so we can use object methods such as getOwnPropertyNames, hasOwnProperty, keys etc.
- install() - Method in class org.ringojs.util.DebuggerBase
- invoke(Object...) - Method in class org.ringojs.engine.Callback
-
Invokes the callback with the given arguments, returning the return value or a future depending on whether this Callback is synchronous or not.
- invoke(Object, Object, Object...) - Method in class org.ringojs.engine.RingoWorker
-
Invoke the function specified by `function` in module `module` with the given arguments on the current thread.
- invoke(Object, String, Object...) - Method in class org.ringojs.engine.RhinoEngine
-
Invoke a javascript function.
- isAbsolute() - Method in class org.ringojs.repository.AbstractRepository
-
Return true if this Repository is in absolute mode.
- isAbsolute() - Method in class org.ringojs.repository.AbstractResource
-
Return true if this Resource is in absolute mode.
- isAbsolute() - Method in class org.ringojs.repository.StringResource
- isAbsolute() - Method in interface org.ringojs.repository.Trackable
-
Return true if this Trackable is in absolute mode.
- isActive() - Method in class org.ringojs.engine.RingoWorker
-
Returns true if this worker is currently running.
- isAsyncSupported() - Method in class org.ringojs.jsgi.JsgiRequest
- isEmpty() - Method in class org.ringojs.util.CaseInsensitiveMap
- isReloading() - Method in class org.ringojs.engine.RingoConfig
- isReloading() - Method in class org.ringojs.engine.RingoWorker
-
Returns true if this worker will reload modified modules between invocations.
- isSealed() - Method in class org.ringojs.engine.RingoConfig
- isVerbose() - Method in class org.ringojs.engine.RingoConfig
- isZipOrJarFile(String) - Static method in class org.ringojs.util.StringUtils
-
Check whether the argument has a .zip or .jar file extension
J
- javaToJS(Object, Scriptable) - Static method in class org.ringojs.util.ScriptUtils
-
Coerce/wrap a java object to a JS object, and mask Lists and Maps as native JS objects.
- join(String[], String) - Static method in class org.ringojs.util.StringUtils
- jsConstructor(Context, Object[], Function, boolean) - Static method in class org.ringojs.wrappers.EventAdapter
- JsgiRequest - Class in org.ringojs.jsgi
- JsgiRequest(HttpServletRequest, HttpServletResponse, JsgiRequest, Scriptable, JsgiServlet) - Constructor for class org.ringojs.jsgi.JsgiRequest
-
Instance constructor
- JsgiRequest(Scriptable) - Constructor for class org.ringojs.jsgi.JsgiRequest
-
Prototype constructor
- JsgiServlet - Class in org.ringojs.jsgi
- JsgiServlet() - Constructor for class org.ringojs.jsgi.JsgiServlet
- JsgiServlet(RhinoEngine) - Constructor for class org.ringojs.jsgi.JsgiServlet
- JsgiServlet(RhinoEngine, Callable) - Constructor for class org.ringojs.jsgi.JsgiServlet
- jsremove(Object) - Method in class org.ringojs.wrappers.Storable
- jsToJava(Object) - Static method in class org.ringojs.util.ScriptUtils
-
Unwrap a JS object to a java object.
- jsunwrap() - Method in class org.ringojs.wrappers.Binary
- jsunwrap() - Method in class org.ringojs.wrappers.Stream
K
- keySet() - Method in class org.ringojs.util.CaseInsensitiveMap
L
- lastChecksum - Variable in class org.ringojs.repository.FileRepository
- lastChecksumTime - Variable in class org.ringojs.repository.FileRepository
- lastIndexOf(Object, Object, Object) - Method in class org.ringojs.wrappers.Binary
- lastModified - Variable in class org.ringojs.repository.FileRepository
- lastModified() - Method in class org.ringojs.repository.FileRepository
-
Returns the date the repository was last modified.
- lastModified() - Method in class org.ringojs.repository.FileResource
- lastModified() - Method in class org.ringojs.repository.StringResource
- lastModified() - Method in interface org.ringojs.repository.Trackable
-
Returns the date the resource was last modified
- lastModified() - Method in class org.ringojs.repository.WebappRepository
- lastModified() - Method in class org.ringojs.repository.WebappResource
- lastModified() - Method in class org.ringojs.repository.ZipRepository
- lastModified() - Method in class org.ringojs.repository.ZipResource
- lineNumber - Variable in class org.ringojs.engine.ScriptError
- lineSource - Variable in class org.ringojs.engine.ScriptError
- load(Context, RhinoEngine, Object, String, String, Resource) - Method in class org.ringojs.engine.ModuleLoader
- load(Scriptable, Context, Scriptable, RingoWorker) - Method in class org.ringojs.engine.ReloadableScript
-
Get a module scope loaded with this script
- loadModule(Context, String, Scriptable) - Method in class org.ringojs.engine.RhinoEngine
-
Load a Javascript module into a module scope.
- loadModule(Context, String, Scriptable) - Method in class org.ringojs.engine.RingoWorker
-
Load a Javascript module into a module scope.
- loadModuleInWorkerThread(String) - Method in class org.ringojs.engine.RingoWorker
-
Load a module in the worker's event loop thread, returning a future for the loaded module.
- loadPackage(String, Repository) - Method in class org.ringojs.engine.RhinoEngine
-
Resolves a module id to a package resource.
- lookupRepository(String) - Method in class org.ringojs.repository.AbstractRepository
- lookupResource(String) - Method in class org.ringojs.repository.AbstractRepository
-
Called to create a child resource for this repository if it exists.
- lookupResource(String) - Method in class org.ringojs.repository.FileRepository
-
Called to create a child resource for this repository
- lookupResource(String) - Method in class org.ringojs.repository.WebappRepository
- lookupResource(String) - Method in class org.ringojs.repository.ZipRepository
-
Called to create a child resource for this repository.
M
- main(String[]) - Static method in class org.ringojs.tools.launcher.Main
-
Ringo main method.
- main(String[]) - Static method in class org.ringojs.tools.RingoRunner
- Main - Class in org.ringojs.tools.launcher
-
Main launcher class.
- Main() - Constructor for class org.ringojs.tools.launcher.Main
- markClean() - Method in class org.ringojs.repository.Tracker
- message - Variable in class org.ringojs.engine.ScriptError
- ModuleLoader - Class in org.ringojs.engine
- ModuleLoader(String) - Constructor for class org.ringojs.engine.ModuleLoader
- ModuleObject - Class in org.ringojs.engine
- ModuleObject() - Constructor for class org.ringojs.engine.ModuleObject
- ModuleScope - Class in org.ringojs.engine
-
A scriptable object that keeps track of the resource it has been loaded from so requests to load other stuff can look for local resources.
- ModuleScope(String, Trackable, Scriptable, RingoWorker) - Constructor for class org.ringojs.engine.ModuleScope
N
- name - Variable in class org.ringojs.repository.AbstractResource
- normalizePath(String) - Static method in class org.ringojs.engine.RhinoEngine
O
- observeInstructionCount(Context, int) - Method in class org.ringojs.engine.RingoContextFactory
-
Implementation of
Context.observeInstructionCount(int instructionCount)
. - offset - Variable in class org.ringojs.engine.ScriptError
- onContextCreated(Context) - Method in class org.ringojs.engine.RingoContextFactory
- onContextReleased(Context) - Method in class org.ringojs.engine.RingoContextFactory
- org.ringojs.engine - package org.ringojs.engine
-
The core scripting engine including the module loader.
- org.ringojs.jsgi - package org.ringojs.jsgi
-
A JSGI compliant servlet implementation.
- org.ringojs.repository - package org.ringojs.repository
-
A framework for unified loading of scripts and other resources.
- org.ringojs.tools - package org.ringojs.tools
- org.ringojs.tools.launcher - package org.ringojs.tools.launcher
- org.ringojs.util - package org.ringojs.util
-
Various utility classes.
- org.ringojs.wrappers - package org.ringojs.wrappers
-
A collection of JavaScript wrappers and host objects.
P
- parseArgs(String[]) - Method in class org.ringojs.tools.RingoRunner
- path - Variable in class org.ringojs.repository.AbstractResource
- printError(Exception, PrintStream, boolean) - Method in class org.ringojs.tools.RingoShell
- printResult(Object, PrintStream) - Method in class org.ringojs.tools.RingoShell
- printUsage() - Static method in class org.ringojs.tools.RingoRunner
- printVersion() - Static method in class org.ringojs.tools.RingoRunner
- privileged(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.engine.RingoGlobal
- put(int, Scriptable, Object) - Method in class org.ringojs.wrappers.Binary
- put(int, Scriptable, Object) - Method in class org.ringojs.wrappers.ScriptableList
- put(int, Scriptable, Object) - Method in class org.ringojs.wrappers.ScriptableMap
- put(String, Scriptable, Object) - Method in class org.ringojs.wrappers.ScriptableList
- put(String, Scriptable, Object) - Method in class org.ringojs.wrappers.ScriptableMap
- put(String, Scriptable, Object) - Method in class org.ringojs.wrappers.ScriptableWrapper
- put(String, Scriptable, Object) - Method in class org.ringojs.wrappers.Storable
- put(String, V) - Method in class org.ringojs.util.CaseInsensitiveMap
-
Puts a new key-value pair into the map.
- putAll(Map<? extends String, ? extends V>) - Method in class org.ringojs.util.CaseInsensitiveMap
R
- read(Object) - Method in class org.ringojs.wrappers.Stream
- readable() - Method in class org.ringojs.wrappers.Stream
- readInto(Binary, Object, Object) - Method in class org.ringojs.wrappers.Stream
- registerModule(Resource, Scriptable) - Method in class org.ringojs.engine.RingoWorker
-
Add a resource/scope pair to our map of known up-to-date modules.
- release() - Method in class org.ringojs.engine.RingoWorker
-
Release the worker, returning it to the engine's worker pool.
- releaseWhenDone() - Method in class org.ringojs.engine.RingoWorker
-
Schedule a task that will release this worker when the current task is finished, returning it back into the engine's worker pool.
- ReloadableScript - Class in org.ringojs.engine
-
This class represents a JavaScript Resource.
- ReloadableScript(Resource, RhinoEngine) - Constructor for class org.ringojs.engine.ReloadableScript
-
Construct a Script from the given script resource.
- remove(Object) - Method in class org.ringojs.util.CaseInsensitiveMap
- removeAllListeners(String) - Method in class org.ringojs.wrappers.EventAdapter
- removeListener(String, Object) - Method in class org.ringojs.wrappers.EventAdapter
- removeModuleLoader(String) - Method in class org.ringojs.engine.RhinoEngine
- renderError(Throwable, HttpServletResponse, List<ScriptError>) - Method in class org.ringojs.jsgi.JsgiServlet
- reportError(Throwable, PrintStream, List<ScriptError>, boolean) - Static method in class org.ringojs.tools.RingoRunner
- repository - Variable in class org.ringojs.repository.AbstractResource
- Repository - Interface in org.ringojs.repository
-
Repository represents an abstract container of resources (e.g.
- Require - Class in org.ringojs.engine
- Require(RhinoEngine, RingoGlobal) - Constructor for class org.ringojs.engine.Require
- reset() - Method in class org.ringojs.engine.ModuleScope
- resolve(Object) - Method in class org.ringojs.engine.ModuleObject
- resolve(String, boolean) - Method in class org.ringojs.repository.AbstractRepository
-
Resolve path relative to this repository.
- resolve(String, Repository) - Method in class org.ringojs.engine.RhinoEngine
-
Try to resolve path to a resource or repository relative to a local path, or the engine's repository path.
- resolveRepository(String, boolean) - Method in class org.ringojs.engine.RingoConfig
-
Resolve a module repository path.
- Resource - Interface in org.ringojs.repository
-
Resource represents a pointer to some kind of information (code, skin, ...) from which the content can be fetched
- resume() - Method in class org.ringojs.util.DebuggerBase
- RhinoEngine - Class in org.ringojs.engine
-
This class provides methods to create JavaScript objects from JavaScript files.
- RhinoEngine(RingoConfig, Map<String, Object>) - Constructor for class org.ringojs.engine.RhinoEngine
-
Create a RhinoEngine with the given configuration.
- RingoClassLoader - Class in org.ringojs.tools.launcher
-
A
ClassLoader
used for application class loading. - RingoClassLoader() - Constructor for class org.ringojs.tools.launcher.RingoClassLoader
- RingoClassLoader(File, String[]) - Constructor for class org.ringojs.tools.launcher.RingoClassLoader
- RingoClassLoader(URL[]) - Constructor for class org.ringojs.tools.launcher.RingoClassLoader
- RingoClassLoader(URL[], ClassLoader) - Constructor for class org.ringojs.tools.launcher.RingoClassLoader
- RingoConfig - Class in org.ringojs.engine
-
This class describes the configuration for a RingoJS application or shell session.
- RingoConfig(Repository) - Constructor for class org.ringojs.engine.RingoConfig
-
Create a new Ringo configuration and sets up its module search path.
- RingoConfig(Repository, String[], String[]) - Constructor for class org.ringojs.engine.RingoConfig
-
Create a new Ringo configuration and sets up its module search path.
- RingoConfig(Repository, Repository, String[], String[]) - Constructor for class org.ringojs.engine.RingoConfig
-
Create a new Ringo configuration and sets up its module search path.
- RingoContextFactory - Class in org.ringojs.engine
- RingoContextFactory(RhinoEngine, RingoConfig) - Constructor for class org.ringojs.engine.RingoContextFactory
- RingoDebugger - Class in org.ringojs.tools
- RingoDebugger(RingoConfig) - Constructor for class org.ringojs.tools.RingoDebugger
- RingoGlobal - Class in org.ringojs.engine
- RingoGlobal(Context, RhinoEngine, boolean) - Constructor for class org.ringojs.engine.RingoGlobal
- RingoRunner - Class in org.ringojs.tools
- RingoRunner() - Constructor for class org.ringojs.tools.RingoRunner
- RingoShell - Class in org.ringojs.tools
-
RingoShell is a simple interactive shell that provides the additional global functions implemented by Ringo.
- RingoShell(RhinoEngine) - Constructor for class org.ringojs.tools.RingoShell
- RingoShell(RhinoEngine, Path, boolean) - Constructor for class org.ringojs.tools.RingoShell
- RingoWorker - Class in org.ringojs.engine
- RingoWorker(RhinoEngine) - Constructor for class org.ringojs.engine.RingoWorker
-
Create a new ringo worker
- RingoWrapFactory - Class in org.ringojs.engine
-
Ringo default wrap factory implementation.
- RingoWrapFactory() - Constructor for class org.ringojs.engine.RingoWrapFactory
- run() - Method in class org.ringojs.tools.RingoShell
- run(String[]) - Method in class org.ringojs.tools.RingoRunner
- runScript(Object, String...) - Method in class org.ringojs.engine.RhinoEngine
-
Invoke a script from the command line.
S
- save(Object) - Method in class org.ringojs.wrappers.Storable
- schedule(long, Object, Object, Object...) - Method in class org.ringojs.engine.RingoWorker
-
Submit a function to be invoked on the worker's event loop thread with the given delay and arguments, returning a future for the result.
- scheduleInterval(long, Object, Object, Object...) - Method in class org.ringojs.engine.RingoWorker
-
Submit a function to be invoked repeatedly with the given interval on the worker's event loop thread, returning a future for the result.
- ScriptableList - Class in org.ringojs.wrappers
-
ScriptableList is a wrapper for java.util.List instances that allows developers to interact with them like it was a native JavaScript array.
- ScriptableList(Scriptable, List) - Constructor for class org.ringojs.wrappers.ScriptableList
-
Create a ScriptableList wrapper around a java.util.List.
- ScriptableMap - Class in org.ringojs.wrappers
-
ScriptableMap is a wrapper for java.util.Map instances that allows developers to interact with them as if it were a native JavaScript object.
- ScriptableMap(Scriptable, Map) - Constructor for class org.ringojs.wrappers.ScriptableMap
- ScriptableWrapper - Class in org.ringojs.wrappers
-
A scriptable wrapper around a scriptable object.
- ScriptableWrapper() - Constructor for class org.ringojs.wrappers.ScriptableWrapper
- ScriptableWrapper(Scriptable, Scriptable) - Constructor for class org.ringojs.wrappers.ScriptableWrapper
- ScriptError - Class in org.ringojs.engine
- ScriptUtils - Class in org.ringojs.util
-
A collection of Rhino utility methods.
- ScriptUtils() - Constructor for class org.ringojs.util.ScriptUtils
- searchNewline(CharBuffer, int) - Static method in class org.ringojs.util.StringUtils
-
Scan for a newline sequence in the given CharBuffer, starting at position from until buffer.position().
- seekable() - Method in class org.ringojs.wrappers.Stream
- SEPARATOR - Static variable in interface org.ringojs.repository.Repository
-
String containing file separator characters.
- service(HttpServletRequest, HttpServletResponse) - Method in class org.ringojs.jsgi.JsgiServlet
- set(Object, int) - Method in class org.ringojs.wrappers.Binary
- setAbsolute(boolean) - Method in class org.ringojs.repository.AbstractRepository
-
Set this Repository to absolute mode.
- setAbsolute(boolean) - Method in class org.ringojs.repository.AbstractResource
-
Set this Resource to absolute mode.
- setAbsolute(boolean) - Method in class org.ringojs.repository.StringResource
- setAbsolute(boolean) - Method in interface org.ringojs.repository.Trackable
-
Set this Trackable to absolute mode.
- setArguments(String[]) - Method in class org.ringojs.engine.RingoConfig
- setBaseNameFromName(String) - Method in class org.ringojs.repository.AbstractResource
- setBootstrapScripts(List<String>) - Method in class org.ringojs.engine.RingoConfig
- setCharset(String) - Method in class org.ringojs.engine.RingoConfig
- setChecksum(long) - Method in class org.ringojs.engine.ModuleScope
- setClassShutter(ClassShutter) - Method in class org.ringojs.engine.RingoConfig
- setCurrentWorker(RingoWorker) - Method in class org.ringojs.engine.RhinoEngine
-
Associate a worker with the current thread and return the worker that was previously associated with it, or null.
- setDebug(boolean) - Method in class org.ringojs.engine.RingoConfig
- setDebuggerScript(String) - Method in class org.ringojs.util.DebuggerBase
- setErrorListener(Function) - Method in class org.ringojs.engine.RingoWorker
-
Set the error listener to handle uncaught errors in this worker
- setGeneratingDebug(boolean) - Method in class org.ringojs.engine.RingoContextFactory
- setHostClasses(Class<Scriptable>[]) - Method in class org.ringojs.engine.RingoConfig
-
Set the host classes to be added to the Rhino engine.
- setLanguageVersion(int) - Method in class org.ringojs.engine.RingoContextFactory
- setLength(int) - Method in class org.ringojs.wrappers.Binary
- setLength(Object) - Method in class org.ringojs.wrappers.Binary
- setMainScript(String) - Method in class org.ringojs.engine.RingoConfig
-
Set the main script for this configuration.
- setOptimizationLevel(int) - Method in class org.ringojs.engine.RhinoEngine
-
Set Rhino optimization level
- setOptimizationLevel(int) - Method in class org.ringojs.engine.RingoContextFactory
- setOptLevel(int) - Method in class org.ringojs.engine.RingoConfig
-
Set the Rhino optimization level
- setParentProtoProperties(boolean) - Method in class org.ringojs.engine.RingoConfig
-
Set the flag to enable __parent__ and __proto__ properties on JS objects
- setParentProtoProperties(boolean) - Method in class org.ringojs.engine.RingoContextFactory
- setReloading(boolean) - Method in class org.ringojs.engine.RingoConfig
- setReloading(boolean) - Method in class org.ringojs.engine.RingoWorker
-
Enable or disable reloading of modified modules for this worker.
- setRoot() - Method in class org.ringojs.repository.AbstractRepository
-
Mark this repository as root repository.
- setRoot() - Method in interface org.ringojs.repository.Repository
-
Mark this repository as root repository, disabling any parent access.
- setSealed(boolean) - Method in class org.ringojs.engine.RingoConfig
- setStrictMode(boolean) - Method in class org.ringojs.engine.RingoContextFactory
- setStrictVars(boolean) - Method in class org.ringojs.engine.RingoConfig
- setStripShebang(boolean) - Method in class org.ringojs.repository.AbstractResource
- setStripShebang(boolean) - Method in interface org.ringojs.repository.Resource
-
Switch shebang stripping on or off
- setStripShebang(boolean) - Method in class org.ringojs.repository.StringResource
- setVerbose(boolean) - Method in class org.ringojs.engine.RingoConfig
- setVisible(boolean) - Method in class org.ringojs.tools.RingoDebugger
- setWarningAsError(boolean) - Method in class org.ringojs.engine.RingoContextFactory
- setWrapFactory(WrapFactory) - Method in class org.ringojs.engine.RingoConfig
- shutdown() - Method in class org.ringojs.engine.RingoWorker
-
Immediately shut down this worker's event loop.
- singleton(Object, Object) - Method in class org.ringojs.engine.ModuleObject
- size() - Method in class org.ringojs.util.CaseInsensitiveMap
- skip(int) - Method in class org.ringojs.wrappers.Stream
- slice(Object, Object) - Method in class org.ringojs.wrappers.Binary
- sourceName - Variable in class org.ringojs.engine.ScriptError
- spawn(Context, Scriptable, Object[], Function) - Static method in class org.ringojs.engine.RingoGlobal
- split(Object, Object) - Method in class org.ringojs.wrappers.Binary
- split(String) - Static method in class org.ringojs.util.StringUtils
-
Split a string into an array of strings.
- split(String, String) - Static method in class org.ringojs.util.StringUtils
-
Split a string into an array of strings.
- splitLines(String) - Static method in class org.ringojs.util.StringUtils
-
Break a string into a string array, using line breaks as delimiters.
- StackUtils - Class in org.ringojs.util
-
Utility class to extract pure JavaScript stack trace from Java exceptions
- StackUtils() - Constructor for class org.ringojs.util.StackUtils
- start() - Method in class org.ringojs.tools.launcher.Main
- start() - Method in class org.ringojs.tools.RingoRunner
- stop() - Method in class org.ringojs.tools.launcher.Main
- stop() - Method in class org.ringojs.tools.RingoRunner
- Storable - Class in org.ringojs.wrappers
- Storable() - Constructor for class org.ringojs.wrappers.Storable
- Stream - Class in org.ringojs.wrappers
-
A CommonJS-compliant wrapper around a Java input or output stream.
- Stream() - Constructor for class org.ringojs.wrappers.Stream
- Stream(Scriptable, Object, Object) - Constructor for class org.ringojs.wrappers.Stream
- StringResource - Class in org.ringojs.repository
- StringResource(String, String) - Constructor for class org.ringojs.repository.StringResource
- StringResource(String, String, int) - Constructor for class org.ringojs.repository.StringResource
- StringUtils - Class in org.ringojs.util
-
Utility class for String manipulation.
- StringUtils() - Constructor for class org.ringojs.util.StringUtils
- stripShebang(InputStream) - Method in class org.ringojs.repository.AbstractResource
- submit(Object, Object, Object...) - Method in class org.ringojs.engine.RingoWorker
-
Submit a function to be invoked on the worker's event loop thread and return a future for the result.
- suspend() - Method in class org.ringojs.util.DebuggerBase
T
- toArray(Object) - Method in class org.ringojs.wrappers.Binary
- toByteArray(Object, Object) - Method in class org.ringojs.wrappers.Binary
- toByteString(Object, Object) - Method in class org.ringojs.wrappers.Binary
- toClassArray(String, String) - Static method in class org.ringojs.util.StringUtils
-
Split a string and try to convert to an array of classes.
- toEventName(Object) - Static method in class org.ringojs.wrappers.EventAdapter
- toHtml() - Method in class org.ringojs.engine.ScriptError
- toInt(Object, int) - Static method in class org.ringojs.util.ScriptUtils
-
Try to convert an object to an int value, returning the default value if conversion fails.
- toString() - Method in class org.ringojs.engine.ModuleScope
- toString() - Method in class org.ringojs.engine.RingoWorker
-
Returns a string representation of the worker.
- toString() - Method in class org.ringojs.engine.ScriptError
- toString() - Method in class org.ringojs.repository.AbstractRepository
-
Returns the repositories full path as string representation.
- toString() - Method in class org.ringojs.repository.FileRepository
- toString() - Method in class org.ringojs.repository.FileResource
- toString() - Method in class org.ringojs.repository.WebappRepository
- toString() - Method in class org.ringojs.repository.WebappResource
- toString() - Method in class org.ringojs.repository.ZipRepository
- toString() - Method in class org.ringojs.repository.ZipResource
- toString() - Method in class org.ringojs.util.CaseInsensitiveMap
- toString() - Method in class org.ringojs.wrappers.Binary
- toString() - Method in class org.ringojs.wrappers.ScriptableList
- toString() - Method in class org.ringojs.wrappers.ScriptableMap
- traceHelper(Function, Object...) - Static method in class org.ringojs.util.ScriptUtils
-
Get a snapshot of the current JavaScript evaluation state by creating an Error object and invoke the function on it passing along any arguments.
- Trackable - Interface in org.ringojs.repository
-
Parent interface for both Repository and Resource interfaces.
- Tracker - Class in org.ringojs.repository
-
A utility class that allows Resource consumers to track changes on resources.
- Tracker(Trackable) - Constructor for class org.ringojs.repository.Tracker
U
- unwrap() - Method in class org.ringojs.wrappers.Binary
-
Unwrap the object by returning the wrapped value.
- unwrap() - Method in class org.ringojs.wrappers.ScriptableList
- unwrap() - Method in class org.ringojs.wrappers.ScriptableMap
- unwrap() - Method in class org.ringojs.wrappers.Stream
-
Unwrap the object by returning the wrapped value.
- updateExports() - Method in class org.ringojs.engine.ModuleScope
V
- valueChanged(TreeSelectionEvent) - Method in class org.ringojs.tools.RingoDebugger
- values() - Method in class org.ringojs.util.CaseInsensitiveMap
- VERSION - Static variable in class org.ringojs.engine.RhinoEngine
W
- waitForAsyncTasks() - Method in class org.ringojs.engine.RhinoEngine
-
Wait until all daemon threads running in this engine have terminated.
- WebappRepository - Class in org.ringojs.repository
- WebappRepository(ServletContext, String) - Constructor for class org.ringojs.repository.WebappRepository
- WebappRepository(ServletContext, WebappRepository, String) - Constructor for class org.ringojs.repository.WebappRepository
- WebappResource - Class in org.ringojs.repository
- WebappResource(ServletContext, WebappRepository, String) - Constructor for class org.ringojs.repository.WebappResource
- wrap(Context, Scriptable, Object, Class) - Method in class org.ringojs.engine.RingoWrapFactory
-
Override to wrap maps as scriptables.
- wrap(Binary.Type, byte[], Scriptable, Scriptable) - Static method in class org.ringojs.wrappers.Binary
- wrapArgument(Object, Scriptable) - Static method in class org.ringojs.engine.RhinoEngine
-
Prepare a single property or argument value for use within rhino.
- writable() - Method in class org.ringojs.wrappers.Stream
- write(Object, Object, Object) - Method in class org.ringojs.wrappers.Stream
Z
- ZipRepository - Class in org.ringojs.repository
- ZipRepository(File) - Constructor for class org.ringojs.repository.ZipRepository
-
Constructs a ZipRespository using the given zip file.
- ZipRepository(String) - Constructor for class org.ringojs.repository.ZipRepository
-
Constructs a ZipRespository using the given zip file.
- ZipResource - Class in org.ringojs.repository
- ZipResource(String, ZipRepository, ZipEntry) - Constructor for class org.ringojs.repository.ZipResource
All Classes All Packages