Package com.enonic.xp.attachment
Class CreateAttachment
- java.lang.Object
-
- com.enonic.xp.attachment.CreateAttachment
-
@PublicApi public final class CreateAttachment extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAttachment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAttachment.Buildercreate()static CreateAttachment.Buildercreate(CreateAttachment source)booleanequals(Object o)BinaryReferencegetBinaryReference()ByteSourcegetByteSource()StringgetExtension()StringgetLabel()StringgetMimeType()StringgetName()StringgetNameWithoutExtension()StringgetTextContent()inthashCode()
-
-
-
Method Detail
-
getName
public String getName()
-
getNameWithoutExtension
public String getNameWithoutExtension()
-
getExtension
public String getExtension()
-
getLabel
public String getLabel()
-
getMimeType
public String getMimeType()
-
getByteSource
public ByteSource getByteSource()
-
getBinaryReference
public BinaryReference getBinaryReference()
-
getTextContent
public String getTextContent()
-
create
public static CreateAttachment.Builder create()
-
create
public static CreateAttachment.Builder create(CreateAttachment source)
-
-