- package com.lkr.properties;
- import java.io.ByteArrayOutputStream;
- import java.io.File;
- import java.io.FileInputStream;
- import java.io.FileNotFoundException;
- import java.io.FileOutputStream;
- import java.io.IOException;
- public class VideoFileReadingAndCoping
- {
- {
- try {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- try {
- while (fileInputStream.available()>0) {
- out.write(fileInputStream.read());
- }
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- try {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- //InputStream is2 = is2.read(jpgByteArray);
- try {
- oStream.write(out.toByteArray());
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- try {
- oStream.writeTo(foStream);
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
Saturday, April 7, 2012
VideoFileReadingAndCoping
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment