public static class ZipFileIndexArchive.ZipFileIndexFileObject extends BaseFileObject
BaseFileObject.CannotCreateUriErrorJavaFileObject.KindfileManager| Modifier and Type | Method and Description |
|---|---|
boolean |
delete() |
boolean |
equals(Object other)
Check if two file objects are equal.
|
CharBuffer |
getCharContent(boolean ignoreEncodingErrors) |
protected CharsetDecoder |
getDecoder(boolean ignoreEncodingErrors) |
JavaFileObject.Kind |
getKind() |
long |
getLastModified() |
String |
getName() |
String |
getShortName()
Return a short name for the object, such as for use in raw diagnostics
|
int |
hashCode() |
protected String |
inferBinaryName(Iterable<? extends File> path) |
boolean |
isNameCompatible(String cn,
JavaFileObject.Kind k) |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
Writer |
openWriter() |
URI |
toUri() |
createJarUri, getAccessLevel, getKind, getNestingKind, getSimpleName, openReader, removeExtension, toStringpublic URI toUri()
public String getName()
public String getShortName()
BaseFileObjectgetShortName in class BaseFileObjectpublic JavaFileObject.Kind getKind()
public InputStream openInputStream() throws IOException
IOExceptionpublic OutputStream openOutputStream() throws IOException
IOExceptionpublic CharBuffer getCharContent(boolean ignoreEncodingErrors) throws IOException
IOExceptionpublic Writer openWriter() throws IOException
IOExceptionpublic long getLastModified()
public boolean delete()
protected CharsetDecoder getDecoder(boolean ignoreEncodingErrors)
getDecoder in class BaseFileObjectprotected String inferBinaryName(Iterable<? extends File> path)
inferBinaryName in class BaseFileObjectpublic boolean isNameCompatible(String cn, JavaFileObject.Kind k)
public boolean equals(Object other)
equals in class BaseFileObjectpublic int hashCode()
hashCode in class BaseFileObjectCopyright © 2017 earcam. All rights reserved.