|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyCodeSource
class GroovyCodeSource extends Object
CodeSource wrapper class that allows specific security policies to be associated with a class compiled from groovy source.
Field Summary | |
---|---|
Certificate[] |
certs
The certificates used to sign the items from the codesource |
Constructor Summary | |
GroovyCodeSource(String script, String name, String codeBase)
|
|
GroovyCodeSource(Reader reader, String name, String codeBase)
Construct a GroovyCodeSource for an inputStream of groovyCode that has an unknown provenance -- meaning it didn't come from a File or a URL (e.g. |
|
GroovyCodeSource(InputStream inputStream, String name, String codeBase)
Construct a GroovyCodeSource for an inputStream of groovyCode that has an unknown provenance -- meaning it didn't come from a File or a URL (e.g. |
|
GroovyCodeSource(File infile, String encoding)
|
|
GroovyCodeSource(File infile)
|
|
GroovyCodeSource(URL url)
|
Method Summary | |
---|---|
CodeSource
|
getCodeSource()
|
File
|
getFile()
|
InputStream
|
getInputStream()
|
String
|
getName()
|
String
|
getScriptText()
|
boolean
|
isCachable()
|
void
|
setCachable(boolean b)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
Certificate[] certs
Constructor Detail |
---|
public GroovyCodeSource(String script, String name, String codeBase)
public GroovyCodeSource(Reader reader, String name, String codeBase)
@Deprecated public public GroovyCodeSource(InputStream inputStream, String name, String codeBase)
public GroovyCodeSource(File infile, String encoding)
public GroovyCodeSource(File infile)
public GroovyCodeSource(URL url)
Method Detail |
---|
public CodeSource getCodeSource()
public File getFile()
@Deprecated public public InputStream getInputStream()
public String getName()
public String getScriptText()
public boolean isCachable()
public void setCachable(boolean b)
Copyright © 2003-2009 The Codehaus. All rights reserved.