那就用
FileOutputStream(file.getName(),true)阿:)

解决方案 »

  1.   

    1.4版以上有FileOutputStream( File file,boolean append );
    1.4版以下我没见,不过,你可以用
    file.getName()或file.getParent() ;file.getPath()等根据实际情况,选择一个传进去.你可以参考API,具体用哪一个我没有测试.
      

  2.   

    用RandomAccessFile 类RandomAccessFile f = new ....
    f.seek(count);//跳过的字节数
    f.write(...)