|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.samples.petportal.domain.PetDescription
public class PetDescription
The PetDescription stores a file's contents as an array of bytes. It is used to demonstrate file upload from within a portlet.
Constructor Summary | |
---|---|
PetDescription()
|
|
PetDescription(byte[] file)
|
Method Summary | |
---|---|
byte[] |
getFile()
Return the file as a byte array. |
void |
setFile(byte[] file)
Set the file as a byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PetDescription()
public PetDescription(byte[] file)
Method Detail |
---|
public void setFile(byte[] file)
public byte[] getFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |