public class GedcomxFileEntry extends Object
| Constructor and Description |
|---|
GedcomxFileEntry(JarEntry jarEntry)
Constructs an instance of GedcomxFileEntry by wrapping a JarEntry from the underlying Jar file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String name)
Get the value of the specified per-entry attribute.
|
Map<String,String> |
getAttributes()
Gets the attributes associated with this entry.
|
String |
getContentType()
The content type of this entry.
|
JarEntry |
getJarEntry()
Gets the underlying JarEntry object used to construct this entry.
|
public GedcomxFileEntry(JarEntry jarEntry)
jarEntry - The JarEntry instance being wrapped.public JarEntry getJarEntry()
public String getContentType() throws IOException
IOException - if an I/O error has occurredpublic String getAttribute(String name) throws IOException
name - The name of the per-entry attribute.IOException - if an I/O error has occurredpublic Map<String,String> getAttributes() throws IOException
IOException - if an I/O error has occurredCopyright © 2024. All rights reserved.