public abstract class DisposableByteSource
extends java.lang.Object
Constructor and Description |
---|
DisposableByteSource() |
Modifier and Type | Method and Description |
---|---|
abstract void |
dispose() |
int |
size() |
abstract com.google.common.io.ByteSource |
source() |
static DisposableByteSource |
wrap(byte[] bytes) |
static DisposableByteSource |
wrap(com.google.common.io.ByteSource simple) |
static DisposableByteSource |
wrap(FileBackedOutputStream fbos) |
static DisposableByteSource |
wrap(FileBackedOutputStream fbos,
int knownSize) |
static DisposableByteSource |
wrap(java.lang.String s) |
public abstract com.google.common.io.ByteSource source()
public abstract void dispose()
public int size()
public static DisposableByteSource wrap(FileBackedOutputStream fbos)
public static DisposableByteSource wrap(FileBackedOutputStream fbos, int knownSize)
public static DisposableByteSource wrap(com.google.common.io.ByteSource simple)
public static DisposableByteSource wrap(java.lang.String s)
public static DisposableByteSource wrap(byte[] bytes)
Copyright © 2021. All Rights Reserved.