Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.core
Class JarContentReference.ContentSelector

java.lang.Object
  extended by 
org.eclipse.update.core.JarContentReference.ContentSelector
Enclosing class:
JarContentReference

public static class JarContentReference.ContentSelector
extends Object

Content selector used in .jar operations. Default implementation causes all file entries to be selected with generated identifiers being the same as the original .jar entry name.

Since:
2.0

Constructor Summary
JarContentReference.ContentSelector ()
           
 
Method Summary
  String defineIdentifier ( JarEntry entry)
          Defines the "symbolic" path identifier for the entry.
 boolean include ( JarEntry entry)
          Indicates whether the .jar entry should be selected.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarContentReference.ContentSelector

public JarContentReference.ContentSelector()
Method Detail

include

public boolean include(
JarEntry entry)
Indicates whether the .jar entry should be selected. Default behavior is to select all non-directory entries.

Parameters:
entry - .jar entry
Returns:
true if entry is to be selected, false otherwise
Since:
2.0

defineIdentifier

public 
String defineIdentifier(
JarEntry entry)
Defines the "symbolic" path identifier for the entry. Default identifier is the same as the jar entry name.

Parameters:
entry - .jar entry
Returns:
"symbolic" path identifier
Since:
2.0

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire