net.sourceforge.stripes.examples.bugzooky.biz
Class Attachment

java.lang.Object
  extended by net.sourceforge.stripes.examples.bugzooky.biz.Attachment

public class Attachment
extends Object

Very simple wrapper for file attachments uploaded for bugs. Assumes that the attachment contains some type of textual data.

Author:
Tim Fennell

Constructor Summary
Attachment()
           
 
Method Summary
 String getContentType()
           
 byte[] getData()
           
 String getName()
           
 String getPreview()
           
 long getSize()
           
 void setContentType(String contentType)
           
 void setData(byte[] data)
           
 void setName(String name)
           
 void setSize(long size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attachment

public Attachment()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getSize

public long getSize()

setSize

public void setSize(long size)

getData

public byte[] getData()

setData

public void setData(byte[] data)

getContentType

public String getContentType()

setContentType

public void setContentType(String contentType)

getPreview

public String getPreview()


© Copyright 2005, Stripes Development Team.