public class Picture
extends java.lang.Object
Constructor and Description |
---|
Picture(PictureConfig config,
java.lang.String filePath)
Constructor for a new Picture, using a specific PictureConfig and
the file path of the picture on the system.
|
Modifier and Type | Method and Description |
---|---|
PictureConfig |
getConfig()
Get the PictureConfig used to take this Picture.
|
java.io.File |
getFile()
Get the abstract representation of the picture file.
|
java.lang.String |
getFilePath()
Get the complete file path of the picture file on the system.
|
java.lang.String |
toString() |
public Picture(PictureConfig config, java.lang.String filePath)
config
- the PictureConfig used to take this picture.filePath
- the complete file path of the picture on the system.public PictureConfig getConfig()
public java.lang.String getFilePath()
public java.io.File getFile()
public java.lang.String toString()
toString
in class java.lang.Object