com.atlassian.confluence.api.model.content
Class AttachmentUpload

java.lang.Object
  extended by com.atlassian.confluence.api.model.content.AttachmentUpload

@ExperimentalApi
public class AttachmentUpload
extends java.lang.Object

Represents a single attachment being uploaded.


Constructor Summary
AttachmentUpload(java.io.File file, java.lang.String name, java.lang.String mediaType, java.lang.String comment, boolean minorEdit)
           
 
Method Summary
 java.lang.String getComment()
           
 java.io.File getFile()
           
 java.lang.String getMediaType()
           
 java.lang.String getName()
           
 boolean isMinorEdit()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachmentUpload

public AttachmentUpload(java.io.File file,
                        java.lang.String name,
                        java.lang.String mediaType,
                        java.lang.String comment,
                        boolean minorEdit)
Method Detail

getComment

public java.lang.String getComment()

getMediaType

public java.lang.String getMediaType()

getFile

public java.io.File getFile()

getName

public java.lang.String getName()

isMinorEdit

public boolean isMinorEdit()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.