FileDescriptor fd = new FileDescriptor(); fd.setFilename (filename); fd.setRevision(revision); fd.setLastChange(lastChange); fd.setBinary(isBinary); fileDescriptorContainer.addFileDescriptor (fd);
FileDescriptor fileDescriptor = new FileDescriptor(); if (tz.hasMoreTokens()) { fileDescriptor.setFilename(tz.nextToken()); } else {  fileDescriptor.setFilename(filename); } fileDescriptor.setRevision(revision); fileDescriptor.setLastChange(lastChange); fileDescriptor.setBinary(isBinary); fd.addFileDescriptor (fileDescriptor);
    public static void createFile(String filename,             								String revision, 											Date lastChange, 											boolean isBinary, 											IFileDescriptorContainer fileDescriptorContainer)     {        String resource = filename.substring(filename.lastIndexOf(IPath.SEPARATOR));        FileDescriptor fd = new FileDescriptor();    	fd.setFilename (filename);    	fd.setRevision(revision);    	fd.setLastChange(lastChange);    	fd.setBinary(isBinary);    	fileDescriptorContainer.addFileDescriptor (fd);    }