Eclipse JDT
Release 3.8

org.eclipse.jdt.ui.jarpackager
Interface IJarBuilderExtension


public interface IJarBuilderExtension

Extends IJarBuilder with the following functions:

Since:
3.5

Method Summary
 void writeFile(File file, IPath destinationPath)
          Add the given file to the archive at the given path
 

Method Detail

writeFile

void writeFile(File file,
               IPath destinationPath)
               throws CoreException
Add the given file to the archive at the given path

Parameters:
file - the file to be written. It is guaranteed, that the file is not a directory.
destinationPath - the path for the file inside the archive
Throws:
CoreException - thrown when the file could not be written

Eclipse JDT
Release 3.8

Guidelines for using Eclipse APIs.

Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.