public static class AttachmentHelper.ValidationResult extends Object
Constructor and Description |
---|
AttachmentHelper.ValidationResult(AttachmentHelper.ValidationError errorType,
String errorMessage) |
AttachmentHelper.ValidationResult(InputStream inputStream,
long size,
String contentType) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getErrorMessage() |
AttachmentHelper.ValidationError |
getErrorType() |
InputStream |
getInputStream() |
long |
getSize() |
boolean |
isValid() |
String |
toString() |
public AttachmentHelper.ValidationResult(InputStream inputStream, long size, String contentType)
public AttachmentHelper.ValidationResult(AttachmentHelper.ValidationError errorType, String errorMessage)
public long getSize()
public InputStream getInputStream()
public String getContentType()
public AttachmentHelper.ValidationError getErrorType()
public boolean isValid()
public String getErrorMessage()
Copyright © 2002-2015 Atlassian. All Rights Reserved.