|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2003 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.modules.java.j2seplatform.libraries; import java.io.DataInputStream; import java.io.IOException; import java.lang.ref.Reference; import java.lang.ref.SoftReference; import java.lang.ref.WeakReference; import java.net.URL; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.WeakHashMap; import org.netbeans.api.java.classpath.ClassPath; import org.netbeans.api.project.libraries.Library; import org.netbeans.api.project.libraries.LibraryManager; import org.netbeans.spi.java.classpath.support.ClassPathSupport; import org.netbeans.spi.java.queries.SourceLevelQueryImplementation; import org.openide.filesystems.FileLock; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileUtil; import org.openide.filesystems.URLMapper; /** * * @author tom */ public class J2SELibrarySourceLevelQueryImpl implements SourceLevelQueryImplementation { private static final String JDK_11 = "1.1"; //NOI18N private static final String JDK_12 = "1.2"; //NOI18N private static final String JDK_13 = "1.3"; //NOI18N private static final String JDK_14 = "1.4"; //NOI18N private static final String JDK_15 = "1.5"; //NOI18N private static final String JDK_UNKNOWN = ""; //NOI18N private static final String CLASS = "class"; //NOI18N private static final int CF_MAGIC = 0xCAFEBABE; private static final int CF_INVALID = -1; private static final int CF_11 = 0x2d; private static final int CF_12 = 0x2e; private static final int CF_13 = 0x2f; private static final int CF_14 = 0x30; private static final int CF_15 = 0x31; //Cache for source level private Map/* |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.