public class JarEntryEmittedArtifact extends BinaryEmittedArtifact
BinaryEmittedArtifact
that reads a jar entry.EmittedArtifact.Visibility
Constructor and Description |
---|
JarEntryEmittedArtifact(String path,
File jarFile,
JarEntry entry) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContents(TreeLogger logger)
Provides access to the contents of the EmittedResource.
|
long |
getLastModified()
Force subclasses to define.
|
compareToComparableArtifact, getComparableArtifactType, getPartialPath, getVisibility, hashCode, isPrivate, setPrivate, setVisibility, toString, writeTo
compareTo, equals, getLinker, isTransferableFromShards
public InputStream getContents(TreeLogger logger) throws UnableToCompleteException
EmittedArtifact
getContents
in class EmittedArtifact
UnableToCompleteException
public long getLastModified()
BinaryEmittedArtifact
getLastModified
in class BinaryEmittedArtifact
Copyright © 2018. All rights reserved.