Uses of Class
com.flexive.shared.exceptions.FxStreamException

Packages that use FxStreamException
com.flexive.shared.stream Classes for dealing with the streaming server (fxStream.jar). 
com.flexive.shared.value Multilingual value types for flexive contents. 
 

Uses of FxStreamException in com.flexive.shared.stream
 

Methods in com.flexive.shared.stream that return FxStreamException
protected static FxStreamException FxStreamUtils.wrapStreamException(com.flexive.stream.StreamException e)
           
 

Methods in com.flexive.shared.stream that throw FxStreamException
static void FxStreamUtils.downloadBinary(BinaryDownloadCallback callback, java.util.List<com.flexive.stream.ServerLocation> server, java.io.OutputStream stream, long binaryId, FxMediaSelector selector)
          Download a binary
static void FxStreamUtils.downloadBinary(java.util.List<com.flexive.stream.ServerLocation> server, java.io.OutputStream stream, BinaryDescriptor descriptor)
          Download a binary
static void FxStreamUtils.downloadBinary(java.util.List<com.flexive.stream.ServerLocation> server, java.io.OutputStream stream, BinaryDescriptor descriptor, BinaryDescriptor.PreviewSizes size)
          Download a binary with given size (Original, Screenview, Preview 1..3)
static java.io.InputStream FxStreamUtils.getBinaryStream(BinaryDescriptor descriptor, BinaryDescriptor.PreviewSizes size)
          Return an InputStream for reading the binary.
static java.io.InputStream FxStreamUtils.getBinaryStream(java.util.List<com.flexive.stream.ServerLocation> server, BinaryDescriptor descriptor, BinaryDescriptor.PreviewSizes size)
          Return an InputStream for reading the binary.
static com.flexive.stream.StreamClient FxStreamUtils.getClient()
          Retrieve a StreamClient, local servers are preferred, remote only as fallback.
static com.flexive.stream.StreamClient FxStreamUtils.getClient(java.util.List<com.flexive.stream.ServerLocation> servers)
          Retrieve a StreamClient, local servers are preferred, remote only as fallback
static BinaryUploadPayload FxStreamUtils.uploadBinary(long length, java.io.InputStream stream)
          Upload a binary (using an OutputStream) to the StreamServer with a default time to live
static BinaryUploadPayload FxStreamUtils.uploadBinary(long length, java.io.InputStream stream, long timeToLive, java.lang.String mimeType)
          Upload a binary (using an OutputStream) to the StreamServer with a given time to live.
static BinaryUploadPayload FxStreamUtils.uploadBinary(long length, java.io.InputStream stream, java.lang.String mimeType)
          Upload a binary (using an OutputStream) to the StreamServer with a default time to live
 

Uses of FxStreamException in com.flexive.shared.value
 

Methods in com.flexive.shared.value that throw FxStreamException
 void BinaryDescriptor.download(java.io.OutputStream stream)
          Downloads the binary to the given stream.
 void BinaryDescriptor.download(java.io.OutputStream stream, BinaryDescriptor.PreviewSizes size)
          Downloads the binary in the requested size (original or preview images if available) to the given stream.
 java.io.InputStream BinaryDescriptor.getInputStream()
          Get the (original) binary as InputStream
 java.io.InputStream BinaryDescriptor.getInputStream(BinaryDescriptor.PreviewSizes size)
          Get the binary as InputStream for a requested preview size
 

Constructors in com.flexive.shared.value that throw FxStreamException
BinaryDescriptor(java.lang.String name, java.io.InputStream stream)
          Constructor (for new Binaries with unknown length - use with care since it will have to create a temp file to determine length!)
BinaryDescriptor(java.lang.String name, long streamLength, java.io.InputStream stream)
          Constructor (for new Binaries)
BinaryDescriptor(java.lang.String name, long streamLength, java.lang.String mimeType, java.io.InputStream stream)
          Constructor (for new Binaries)
BinaryDescriptor(java.lang.String name, java.lang.String mimeType, java.io.InputStream stream)
          Constructor (for new Binaries with unknown size)