1 package com.hammurapi.jcapture; 2 3 import java.io.File; 4 import java.util.List; 5 6 import com.hammurapi.jcapture.VideoEncoder.Fragment; 7 8 class FragmentImpl implements Fragment { 9 10 private File audio; 11 private List<Frame> frames; 12 FragmentImpl( List<Frame> frames, File audio)13 FragmentImpl( List<Frame> frames, File audio) { 14 this.audio = audio; 15 this.frames = frames; 16 } 17 18 @Override getFrames()19 public List<Frame> getFrames() { 20 return frames; 21 } 22 23 @Override getAudio()24 public File getAudio() { 25 return audio; 26 } 27 28 } 29