com.sun.jini.tool
Class PreferredListGen.PrefData

java.lang.Object
  extended by com.sun.jini.tool.PreferredListGen.PrefData
All Implemented Interfaces:
Comparable
Enclosing class:
PreferredListGen

private class PreferredListGen.PrefData
extends Object
implements Comparable

A representation of a class path, package path wildcard, or namespace path wildcard preferred list entry. This class implements Comparable to provide a primary sort key for the ordering of class/path/namespace, and a secondary sort key which is alphabetic.


Field Summary
(package private)  String name
          the preferred list entry name string
(package private)  boolean preferred
          the preferred value for this entry
(package private)  File sourceJar
          the sourceJar, used when merging two graphs
 
Constructor Summary
PreferredListGen.PrefData(String name, boolean preferred)
           
PreferredListGen.PrefData(String name, boolean preferred, File sourceJar)
           
 
Method Summary
 int compareTo(Object o)
           
private  String prefixedString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

String name
the preferred list entry name string


preferred

boolean preferred
the preferred value for this entry


sourceJar

File sourceJar
the sourceJar, used when merging two graphs

Constructor Detail

PreferredListGen.PrefData

PreferredListGen.PrefData(String name,
                          boolean preferred)

PreferredListGen.PrefData

PreferredListGen.PrefData(String name,
                          boolean preferred,
                          File sourceJar)
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

prefixedString

private String prefixedString()


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.