@Internal public class JarDescriptor extends Object
Constructor and Description |
---|
JarDescriptor(File file,
com.google.common.io.InputSupplier<InputStream> inputSupplier) |
JarDescriptor(File file,
String name,
com.google.common.io.InputSupplier<InputStream> inputSupplier) |
JarDescriptor(String name,
com.google.common.io.InputSupplier<InputStream> inputSupplier) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getChecksum() |
FileHashDescriptor |
getFileHashDescriptor() |
InputStream |
getInputStream() |
Optional<Long> |
getLastModified() |
Optional<Long> |
getLength() |
String |
getName() |
int |
hashCode() |
String |
toString() |
public JarDescriptor(String name, com.google.common.io.InputSupplier<InputStream> inputSupplier)
public JarDescriptor(@NotNull File file, com.google.common.io.InputSupplier<InputStream> inputSupplier)
public JarDescriptor(@Nullable File file, String name, com.google.common.io.InputSupplier<InputStream> inputSupplier)
@NotNull public String getName()
public long getChecksum()
@NotNull public InputStream getInputStream() throws IOException
IOException
- if a stream to the jar file could not be created@NotNull public FileHashDescriptor getFileHashDescriptor()
JarDescriptor
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.