296297298299300301302303304305306
path = getPhysicalPath(path); File file = new File(path); if(!file.exists()) throw new ResourceNotFound(); if(!file.isFile()) throw new NotFile(); FileInputStream fis = null; try { fis = new FileInputStream(file); fis.skip(from);
321322323324325326327328329330331
File file = new File(path); if(!file.exists()) throw new ResourceNotFound(); if(!file.isFile()) throw new NotFile(); byte[] bytes = null; FileInputStream fis = null; try{ fis = new FileInputStream(file);