public interface DistributionPackage
Modifier and Type | Method and Description |
---|---|
void |
close()
closes all resources associated with this instance
|
InputStream |
createInputStream()
creates a package stream.
|
void |
delete()
releases all resources associated with this package
|
String |
getId()
get package id.
|
DistributionPackageInfo |
getInfo()
gets an additional info holder for this package.
|
long |
getSize() |
String |
getType()
get the type of package
|
@Nonnull String getId()
@Nonnull InputStream createInputStream() throws IOException
InputStream
IOException
long getSize()
void close()
void delete()
@Nonnull DistributionPackageInfo getInfo()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.