Package org.hl7.fhir.utilities
Class ByteProvider
java.lang.Object
org.hl7.fhir.utilities.ByteProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteProviderforBytes(byte[] bytes) static ByteProviderstatic ByteProviderstatic ByteProviderforStream(InputStream stream) abstract byte[]getBytes()
-
Constructor Details
-
ByteProvider
public ByteProvider()
-
-
Method Details
-
getBytes
- Throws:
FileNotFoundExceptionIOException
-
forStream
- Throws:
IOException
-
forBytes
-
forFile
-
forFile
- Throws:
IOException
-