public static class ZipCascadeURIResolver.ZipPackage
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ZipCascadeURIResolver.ZipPackage.CaseType
The Enum CaseType.
|
Constructor and Description |
---|
ZipPackage(java.io.File soureConfFile,
java.lang.String nameInNode,
java.lang.String idInNode,
java.net.URI basePath,
java.io.File zFile,
java.lang.String path,
java.lang.String caseType,
boolean bInNode)
Instantiates a new zip package.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals.
|
java.net.URI |
getBase()
Gets the base.
|
java.lang.String |
getCase()
Gets the case.
|
java.lang.Exception |
getError()
Gets the error.
|
java.lang.String |
getId()
Gets the id.
|
java.util.Iterator<java.net.URI> |
getIterator()
Prepares an iterator over all files represented as the official
URL in order to allow the checker to verify the file existence
and compare content.
|
java.lang.String |
getName()
Gets the name.
|
ZipCascadeURIResolver.ZipPackage |
getNext()
Unused feature.
|
java.lang.String |
getPath()
Gets the path.
|
java.util.Properties |
getProperties()
Reads the content of the xbrlCacheInfo.properties file and returns the properties inside
|
java.io.File |
getSourceConfFile()
Gets the source conf file.
|
int |
getVersion()
Obtains the version numbre of this package.
|
java.lang.String |
getZipFileName()
Gets the zip file.
|
int |
hashCode()
Hash code.
|
boolean |
isBaseExplicit()
Checks if is base explicit.
|
boolean |
isEnabled()
Unused feature.
|
boolean |
isHidden()
Unused feature.
|
boolean |
isIdExplicit()
Checks if is id explicit.
|
boolean |
isInNode()
Checks if is in node.
|
boolean |
isNameExplicit()
Checks if is name explicit.
|
javax.xml.transform.Source |
resolve(java.lang.String fileName)
Resolve.
|
void |
setBasePath(java.net.URI basePath)
Sets the uriStartString of this ZipPackage.
|
void |
setCaseType(ZipCascadeURIResolver.ZipPackage.CaseType caseType)
Sets the case type.
|
boolean |
wasSimplified()
Was simplified.
|
public ZipPackage(java.io.File soureConfFile, java.lang.String nameInNode, java.lang.String idInNode, java.net.URI basePath, java.io.File zFile, java.lang.String path, java.lang.String caseType, boolean bInNode) throws java.io.IOException, java.net.URISyntaxException
soureConfFile
- the soure conf filenameInNode
- the name in nodeidInNode
- the id in nodebasePath
- the base pathzFile
- the z filepath
- the pathcaseType
- the case typebInNode
- the b in nodejava.util.zip.ZipException
- the zip exceptionjava.io.IOException
- Signals that an I/O exception has occurred.java.net.URISyntaxException
- the URI syntax exceptionpublic java.io.File getSourceConfFile()
public java.lang.String getId()
public java.lang.String getName()
public int getVersion()
public void setBasePath(java.net.URI basePath)
basePath
- the basePath to setpublic void setCaseType(ZipCascadeURIResolver.ZipPackage.CaseType caseType)
caseType
- the caseType to setpublic java.lang.String getZipFileName()
public java.net.URI getBase()
public boolean isBaseExplicit()
public boolean isNameExplicit()
public java.lang.String getCase()
public java.lang.String getPath()
public java.lang.Exception getError()
public javax.xml.transform.Source resolve(java.lang.String fileName)
fileName
- the file namepublic java.util.Properties getProperties()
public ZipCascadeURIResolver.ZipPackage getNext() throws java.io.IOException, java.net.URISyntaxException
java.io.IOException
- Signals that an I/O exception has occurred.java.net.URISyntaxException
- the URI syntax exceptionpublic boolean isHidden()
public boolean isEnabled()
public boolean isInNode()
public boolean isIdExplicit()
public boolean wasSimplified()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic java.util.Iterator<java.net.URI> getIterator()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa