diff options
author | jfrijters <jfrijters> | 2007-07-13 15:42:30 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2007-07-13 15:42:30 +0400 |
commit | b85581be2028bdbb5184416c464ebade601cc4d7 (patch) | |
tree | 5de2bf93fc9648a02433948732f77d6d8a372304 /openjdk/sun/nio/ch/DefaultSelectorProvider.java | |
parent | 94dd0b0b5aeb4766ce1459b3186020ebb5918707 (diff) |
- Integrated OpenJDK packages: java.net, java.security, java.util.jar, javax.naming, javax.net, javax.security, javax.smartcardio, java.nio.channels.spi
- Integrated IcedTea crypto/security classes.
Diffstat (limited to 'openjdk/sun/nio/ch/DefaultSelectorProvider.java')
-rw-r--r-- | openjdk/sun/nio/ch/DefaultSelectorProvider.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/openjdk/sun/nio/ch/DefaultSelectorProvider.java b/openjdk/sun/nio/ch/DefaultSelectorProvider.java new file mode 100644 index 00000000..b49d4a65 --- /dev/null +++ b/openjdk/sun/nio/ch/DefaultSelectorProvider.java @@ -0,0 +1,49 @@ +/* + * Copyright 2001-2002 Sun Microsystems, Inc. All Rights Reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Sun designates this + * particular file as subject to the "Classpath" exception as provided + * by Sun in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, + * CA 95054 USA or visit www.sun.com if you need additional information or + * have any questions. + */ + +package sun.nio.ch; + +import java.nio.channels.spi.SelectorProvider; + + +/** + * Creates this platform's default SelectorProvider + */ + +public class DefaultSelectorProvider { + + /** + * Prevent instantiation. + */ + private DefaultSelectorProvider() { } + + /** + * Returns the default SelectorProvider. + */ + public static SelectorProvider create() { + throw new Error("Not implemented"); + } + +} |