Package | Description |
---|---|
org.apache.chemistry.opencmis.client.util |
Modifier and Type | Method and Description |
---|---|
static MutableContentStream |
ContentStreamUtils.createByteArrayContentStream(String filename,
byte[] contentBytes)
Creates a content stream object from a byte array.
|
static MutableContentStream |
ContentStreamUtils.createByteArrayContentStream(String filename,
byte[] contentBytes,
int offset,
int length,
String mimetype)
Creates a content stream object from a byte array.
|
static MutableContentStream |
ContentStreamUtils.createByteArrayContentStream(String filename,
byte[] contentBytes,
String mimetype)
Creates a content stream object from a byte array.
|
static MutableContentStream |
ContentStreamUtils.createContentStream(String filename,
BigInteger length,
String mimetype,
InputStream stream)
Creates a content stream object for an InputStream.
|
static MutableContentStream |
ContentStreamUtils.createContentStream(String filename,
long length,
String mimetype,
InputStream stream)
Creates a content stream object for an InputStream.
|
static MutableContentStream |
ContentStreamUtils.createFileContentStream(File file)
Creates a content stream object from file.
|
static MutableContentStream |
ContentStreamUtils.createFileContentStream(File file,
String mimetype)
Creates a content stream object from file.
|
static MutableContentStream |
ContentStreamUtils.createFileContentStream(String filename,
File file)
Creates a content stream object from file.
|
static MutableContentStream |
ContentStreamUtils.createFileContentStream(String filename,
File file,
String mimetype)
Creates a content stream object from file.
|
static MutableContentStream |
ContentStreamUtils.createTextContentStream(String filename,
String content)
Creates a content stream object from a string.
|
static MutableContentStream |
ContentStreamUtils.createTextContentStream(String filename,
String content,
String mimetype)
Creates a content stream object from a string.
|
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.