com.enonic.xp.node.BinaryAttachment Maven / Gradle / Ivy
package com.enonic.xp.node;
import com.google.common.io.ByteSource;
import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.util.BinaryReference;
@PublicApi
public class BinaryAttachment
{
private final BinaryReference reference;
private final ByteSource byteSource;
public BinaryAttachment( final BinaryReference reference, final ByteSource byteSource )
{
this.reference = reference;
this.byteSource = byteSource;
}
public BinaryReference getReference()
{
return reference;
}
public ByteSource getByteSource()
{
return byteSource;
}
}