public class JarAsset extends Object implements Asset
Constructor and Description |
---|
JarAsset(JarURLConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
MediaType |
getContentType() |
long |
getLastModified() |
long |
getSize() |
boolean |
isDirectory() |
InputStream |
stream() |
public JarAsset(JarURLConnection connection) throws IOException
IOException
public boolean isDirectory()
isDirectory
in interface Asset
public long getSize()
public long getLastModified()
getLastModified
in interface Asset
@Nonnull public MediaType getContentType()
getContentType
in interface Asset
public InputStream stream()
public void close()
close
in interface AutoCloseable
Copyright © 2019. All rights reserved.