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