Package nl.bimbase.bimworks.client.apis
Class UploadBuilder
java.lang.Object
nl.bimbase.bimworks.client.apis.UploadBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
forceReprocessing
(boolean forceReprocessing) from
(com.google.common.io.ByteSource byteSource) fromBytes
(byte[] newBytes) fromInputStream
(InputStream inputStream) fromInputStream
(InputStream inputStream, long filesize) com.google.common.io.ByteSource
getPath()
nl.sascom.backplane.common.ProgressListener
long
getUrl()
nl.bimbase.bimworks.api.render.ValidationLevel
boolean
boolean
option
(UploadOption uploadOption) progressListener
(nl.sascom.backplane.common.ProgressListener progressListener) suppressDebugMessages
(boolean suppressDebugMessages) validationLevel
(nl.bimbase.bimworks.api.render.ValidationLevel validationLevel)
-
Constructor Details
-
UploadBuilder
-
-
Method Details
-
fromPath
- Throws:
UploadBuilderException
-
fromFile
-
fromInputStream
public UploadBuilder fromInputStream(InputStream inputStream, long filesize) throws UploadBuilderException - Throws:
UploadBuilderException
-
fromInputStream
- Throws:
UploadBuilderException
-
getNodeUuid
-
getPath
-
getFilename
-
determineFilename
-
determineFilesize
- Throws:
IOException
-
option
-
getUploadOption
-
getUrl
-
getTimeOutUnit
-
getTimeOutValue
public long getTimeOutValue() -
timeOut
-
getInputStream
-
getContentType
-
filename
-
url
-
forceReprocessing
-
isForceReprocessing
public boolean isForceReprocessing() -
from
-
getByteSource
public com.google.common.io.ByteSource getByteSource() -
progressListener
-
getProgressListener
public nl.sascom.backplane.common.ProgressListener getProgressListener() -
fromBytes
-
suppressDebugMessages
-
isSuppressDebugMessages
public boolean isSuppressDebugMessages() -
validationLevel
public UploadBuilder validationLevel(nl.bimbase.bimworks.api.render.ValidationLevel validationLevel) -
getValidationLevel
public nl.bimbase.bimworks.api.render.ValidationLevel getValidationLevel()
-