java.lang.Object |
↳ |
com.google.gwt.core.ext.Linker |
|
↳ |
com.google.gwt.core.ext.linker.AbstractLinker |
|
|
↳ |
com.google.gwt.precompress.linker.PrecompressLinker |
Class Overview
A linker that precompresses the public artifacts that it sees. That way, a
web server that uses gzip transfer encoding can use the precompressed files
instead of having to compress them on the fly.
To use this linker, add the following to your module definition:
<inherits name="com.google.gwt.precompress.Precompress"/>
The files to precompress are specified by the configuration property
precompress.path.regexes
. By default, the uncompressed artifacts
are left in the artifact set. If the configuration property
precompress.leave.originals
is set to false
,
however, then the uncompressed version is removed.
Summary
Public Methods |
String
|
getDescription()
|
ArtifactSet
|
link(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation)
|
[Expand]
Inherited Methods |
From class
com.google.gwt.core.ext.linker.AbstractLinker
final
SyntheticArtifact
|
emitBytes(TreeLogger arg0, byte[] arg1, String arg2)
|
final
SyntheticArtifact
|
emitBytes(TreeLogger arg0, byte[] arg1, String arg2, long arg3)
|
final
SyntheticArtifact
|
emitInputStream(TreeLogger arg0, InputStream arg1, String arg2)
|
final
SyntheticArtifact
|
emitInputStream(TreeLogger arg0, InputStream arg1, String arg2, long arg3)
|
final
SyntheticArtifact
|
emitString(TreeLogger arg0, String arg1, String arg2, long arg3)
|
final
SyntheticArtifact
|
emitString(TreeLogger arg0, String arg1, String arg2)
|
final
SyntheticArtifact
|
emitWithStrongName(TreeLogger arg0, byte[] arg1, String arg2, String arg3, long arg4)
|
final
SyntheticArtifact
|
emitWithStrongName(TreeLogger arg0, byte[] arg1, String arg2, String arg3)
|
|
From class
com.google.gwt.core.ext.Linker
abstract
String
|
getDescription()
|
final
boolean
|
isShardable()
|
ArtifactSet
|
link(TreeLogger arg0, LinkerContext arg1, ArtifactSet arg2)
|
ArtifactSet
|
link(TreeLogger arg0, LinkerContext arg1, ArtifactSet arg2, boolean arg3)
|
ArtifactSet
|
relink(TreeLogger arg0, LinkerContext arg1, ArtifactSet arg2)
|
boolean
|
supportsDevModeInJunit(LinkerContext arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
PrecompressLinker
()
Public Methods
public
String
getDescription
()
public
ArtifactSet
link
(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation)
Throws
UnableToCompleteException
| |