Example usage for com.google.gwt.core.ext.linker SyntheticArtifact getContents

List of usage examples for com.google.gwt.core.ext.linker SyntheticArtifact getContents

Introduction

In this page you can find the example usage for com.google.gwt.core.ext.linker SyntheticArtifact getContents.

Prototype

@Override
    public InputStream getContents(TreeLogger logger) throws UnableToCompleteException 

Source Link

Usage

From source file:net.randomhacks.wave.voting.approval.ApprovalVotingLinker.java

License:Apache License

private void renameSyntheticArtifact(TreeLogger logger, ArtifactSet result, SyntheticArtifact gadgetXml,
        String partialPath) throws UnableToCompleteException {
    result.remove(gadgetXml);//ww  w  . j av a2s  .c  o m
    result.add(
            emitInputStream(logger, gadgetXml.getContents(logger), partialPath, gadgetXml.getLastModified()));
}