
Package org.hl7.fhir.r4.formats
Class FormatUtilities
java.lang.Object
org.hl7.fhir.r4.formats.FormatUtilities
- Direct Known Subclasses:
ParserBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Manager.FhirFormatdetermineFormat(byte[] source) static Manager.FhirFormatdetermineFormat(byte[] source, int scanLength) static booleanstatic ResourceloadFile(InputStream source) static Resourcestatic ResourceloadFileTight(InputStream source) static ResourceloadFileTight(String path) static Stringstatic ParserBasemakeParser(String format) static ParserBasemakeParser(Manager.FhirFormat format) protected StringtoString(boolean value) static StringtoString(byte[] value) protected StringtoString(int value) protected Stringprotected StringtoString(BigDecimal value) protected String
-
Field Details
-
ID_REGEX
- See Also:
-
FHIR_NS
- See Also:
-
XHTML_NS
- See Also:
-
NS_XSI
- See Also:
-
-
Constructor Details
-
FormatUtilities
public FormatUtilities()
-
-
Method Details
-
toString
-
toString
-
toString
-
toString
-
toString
-
toString
-
isValidId
-
makeId
-
makeParser
-
makeParser
-
determineFormat
public static Manager.FhirFormat determineFormat(byte[] source) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
determineFormat
public static Manager.FhirFormat determineFormat(byte[] source, int scanLength) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
loadFile
public static Resource loadFile(String path) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
FileNotFoundExceptionIOExceptionorg.hl7.fhir.exceptions.FHIRException
-
loadFile
public static Resource loadFile(InputStream source) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
FileNotFoundExceptionIOExceptionorg.hl7.fhir.exceptions.FHIRException
-
loadFileTight
public static Resource loadFileTight(String path) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
FileNotFoundExceptionIOExceptionorg.hl7.fhir.exceptions.FHIRException
-
loadFileTight
public static Resource loadFileTight(InputStream source) throws FileNotFoundException, IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
FileNotFoundExceptionIOExceptionorg.hl7.fhir.exceptions.FHIRException
-