Class PictureEmbedded
- java.lang.Object
-
- com.fifa.connectid.sdk.core.model.PictureEmbedded
-
public class PictureEmbedded extends Object
-
-
Constructor Summary
Constructors Constructor Description PictureEmbedded()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fifa.fc.PictureTypecreate(byte[] image)Creates PictureType object from byte arraystatic com.fifa.fc.PictureTypecreateFromLocalPath(String localPath)Creates PictureType object from local image
-
-
-
Method Detail
-
createFromLocalPath
public static com.fifa.fc.PictureType createFromLocalPath(String localPath) throws IOException
Creates PictureType object from local image- Parameters:
localPath- local path to photo- Returns:
- PictureType object compliant with FIFA Data Standard
- Throws:
IOException- exception thrown when given file is not accessible
-
create
public static com.fifa.fc.PictureType create(byte[] image)
Creates PictureType object from byte array- Parameters:
image- byte array representing the image- Returns:
- PictureType object compliant with FIFA Data Standard
- Throws:
IOException- exception thrown in situation when given file is not accessible
-
-