public abstract class FormatUtilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FHIR_NS |
static String |
ID_REGEX |
static String |
NS_XSI |
static String |
XHTML_NS |
| Constructor and Description |
|---|
FormatUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static Manager.FhirFormat |
determineFormat(byte[] source) |
static Manager.FhirFormat |
determineFormat(byte[] source,
int scanLength) |
static boolean |
isValidId(String tail) |
static Resource |
loadFile(InputStream source) |
static Resource |
loadFile(String path) |
static String |
makeId(String candidate) |
static ParserBase |
makeParser(Manager.FhirFormat format) |
static ParserBase |
makeParser(String format) |
protected String |
toString(BigDecimal value) |
protected String |
toString(boolean value) |
static String |
toString(byte[] value) |
protected String |
toString(int value) |
protected String |
toString(String value) |
protected String |
toString(URI value) |
public static final String ID_REGEX
public static final String FHIR_NS
public static final String XHTML_NS
public static final String NS_XSI
public FormatUtilities()
protected String toString(BigDecimal value)
public static ParserBase makeParser(Manager.FhirFormat format)
public static ParserBase makeParser(String format)
public static Manager.FhirFormat determineFormat(byte[] source) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic static Manager.FhirFormat determineFormat(byte[] source, int scanLength) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic static Resource loadFile(String path) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException
FileNotFoundExceptionIOExceptionorg.hl7.fhir.exceptions.FHIRExceptionpublic static Resource loadFile(InputStream source) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException
FileNotFoundExceptionIOExceptionorg.hl7.fhir.exceptions.FHIRExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.