com.ihr.xbrl.util
Class FastDocumentTypeIdentifier

java.lang.Object
  extended by com.ihr.xbrl.util.FastDocumentTypeIdentifier

public class FastDocumentTypeIdentifier
extends java.lang.Object

This class provides a very fast mechanism to identify if a File is an XBRL document Linkbase, Taxonomy or XBRL Report.

Added code to recognize iXBRL instances

Author:
Ignacio

Field Summary
static XBRLDocumentContentExplorer NOT_AN_XBRL_DOCUMENT
           
 
Constructor Summary
FastDocumentTypeIdentifier()
           
 
Method Summary
static XBRLDocumentContentExplorer getDocumentType(java.io.File zfp)
           
static XBRLDocumentContentExplorer getDocumentType(java.net.URI uri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_AN_XBRL_DOCUMENT

public static final XBRLDocumentContentExplorer NOT_AN_XBRL_DOCUMENT
Constructor Detail

FastDocumentTypeIdentifier

public FastDocumentTypeIdentifier()
Method Detail

getDocumentType

public static XBRLDocumentContentExplorer getDocumentType(java.net.URI uri)

getDocumentType

public static XBRLDocumentContentExplorer getDocumentType(java.io.File zfp)


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa