Class PictureEmbedded


  • public class PictureEmbedded
    extends Object
    • Constructor Detail

      • PictureEmbedded

        public PictureEmbedded()
    • 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