public class InplaceMP4Editor extends Object
Constructor and Description |
---|
InplaceMP4Editor() |
Modifier and Type | Method and Description |
---|---|
boolean |
copy(File src,
File dst,
MP4Edit edit)
Tries to modify movie header in place according to what's implemented in
the edit.
|
boolean |
modify(File file,
MP4Edit edit)
Tries to modify movie header in place according to what's implemented in
the edit, the file gets pysically modified if the operation is
successful.
|
boolean |
replace(File src,
MP4Edit edit)
Tries to modify movie header in place according to what's implemented in
the edit.
|
public boolean modify(File file, MP4Edit edit) throws IOException
file
- A file to be modifiededit
- An edit to be carried out on a movie headerIOException
Exception
public boolean copy(File src, File dst, MP4Edit edit) throws IOException
src
- An original filedst
- A file to store the modified copyedit
- An edit logic to applyIOException
public boolean replace(File src, MP4Edit edit) throws IOException
src
- A source and destination fileedit
- An edit to be appliedIOException
Copyright © 2019. All rights reserved.