public class MP4ManagerHelper
extends java.lang.Object
Constructor and Description |
---|
MP4ManagerHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
appendHeader(java.lang.StringBuilder iTuneMOVIValue) |
static java.lang.String |
certToItunesCert(Certification cert) |
static java.io.File |
downloadToTempFile(java.net.URL url,
java.lang.String extension) |
static void |
genericFileInfo(IMediaFileInfo info,
java.io.File mp4File,
java.lang.String flavour,
java.lang.StringBuilder iTuneMOVIValue) |
static java.io.File |
getArtworkFile(java.net.URL imageUrl) |
static byte[] |
getBytesFromFile(java.io.File file) |
static java.lang.String |
getFileFlavor(java.io.File mp4File,
IMediaFileInfo info) |
static java.util.Date |
getPurchasedDate(java.io.File mp4File) |
static java.lang.String |
getShortDescription(java.lang.String summary,
int len) |
static java.net.URL |
getVideoURL(IVideo video)
Used to get the image URL of a video
|
public static void appendHeader(java.lang.StringBuilder iTuneMOVIValue)
public static void genericFileInfo(IMediaFileInfo info, java.io.File mp4File, java.lang.String flavour, java.lang.StringBuilder iTuneMOVIValue)
public static java.lang.String getShortDescription(java.lang.String summary, int len)
public static java.lang.String getFileFlavor(java.io.File mp4File, IMediaFileInfo info)
public static java.util.Date getPurchasedDate(java.io.File mp4File)
public static java.lang.String certToItunesCert(Certification cert)
public static java.io.File getArtworkFile(java.net.URL imageUrl) throws java.io.IOException
java.io.IOException
public static java.io.File downloadToTempFile(java.net.URL url, java.lang.String extension) throws java.io.IOException
java.io.IOException
public static java.net.URL getVideoURL(IVideo video)
video
- The video informationpublic static byte[] getBytesFromFile(java.io.File file) throws java.io.IOException
java.io.IOException