Commit 97e947fd authored by yanzg's avatar yanzg

修改实体位置

parent 28de9a35
package helper; package helper;
import com.yanzuoguang.util.ImageHelper;
import com.yanzuoguang.util.MediaHelperExtend; import com.yanzuoguang.util.MediaHelperExtend;
import com.yanzuoguang.util.helper.FileHelper;
import com.yanzuoguang.util.thread.RunnableListAuto; import com.yanzuoguang.util.thread.RunnableListAuto;
import it.sauronsoftware.jave.Encoder; import it.sauronsoftware.jave.Encoder;
import it.sauronsoftware.jave.EncoderException; import it.sauronsoftware.jave.EncoderException;
...@@ -21,10 +21,10 @@ public class TestMediaHelper { ...@@ -21,10 +21,10 @@ public class TestMediaHelper {
@Test @Test
public void testMediaType() throws EncoderException, IOException { public void testMediaType() throws EncoderException, IOException {
System.out.println("100M.mp4 " + ImageHelper.getMediaType(getFile("100M.mp4"))); System.out.println("100M.mp4 " + FileHelper.getMediaType(getFile("100M.mp4")));
System.out.println("100M.mp4.jpg " + ImageHelper.getMediaType(getFile("100M.mp4.jpg"))); System.out.println("100M.mp4.jpg " + FileHelper.getMediaType(getFile("100M.mp4.jpg")));
System.out.println("xuziming.mp4 " + ImageHelper.getMediaType(getFile("xuziming.mp4"))); System.out.println("xuziming.mp4 " + FileHelper.getMediaType(getFile("xuziming.mp4")));
System.out.println("z001594372388232a3017ad69c82a342.MOV " + ImageHelper.getMediaType(getFile("z001594372388232a3017ad69c82a342.MOV"))); System.out.println("z001594372388232a3017ad69c82a342.MOV " + FileHelper.getMediaType(getFile("z001594372388232a3017ad69c82a342.MOV")));
} }
@Test @Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment