< prev index next >

src/jdk.zipfs/share/classes/jdk/nio/zipfs/JarFileSystemProvider.java

Print this page
rev 53034 : 8215472: Cleanups in implementation classes of jdk.zipfs and tests

*** 1,7 **** /* ! * Copyright (c) 2007, 2014, Oracle and/or its affiliates. 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. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2007, 2018, Oracle and/or its affiliates. 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. Oracle designates this
*** 23,47 **** * questions. */ package jdk.nio.zipfs; - import java.nio.file.*; - import java.nio.file.spi.*; - import java.nio.file.attribute.*; - import java.nio.file.spi.FileSystemProvider; - import java.net.URI; - import java.io.IOException; import java.net.URISyntaxException; ! import java.nio.channels.FileChannel; ! import java.util.HashMap; ! import java.util.Map; ! import java.util.Set; ! class JarFileSystemProvider extends ZipFileSystemProvider ! { @Override public String getScheme() { return "jar"; } --- 23,39 ---- * questions. */ package jdk.nio.zipfs; import java.net.URI; import java.net.URISyntaxException; ! import java.nio.file.FileSystem; ! import java.nio.file.Path; ! import java.nio.file.Paths; ! class JarFileSystemProvider extends ZipFileSystemProvider { @Override public String getScheme() { return "jar"; }
< prev index next >