< prev index next >
src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipInfo.java
Print this page
rev 53034 : 8215472: Cleanups in implementation classes of jdk.zipfs and tests
*** 1,7 ****
/*
! * Copyright (c) 2009, 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) 2009, 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,44 ****
* questions.
*/
package jdk.nio.zipfs;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.Map;
- import static jdk.nio.zipfs.ZipConstants.*;
- import static jdk.nio.zipfs.ZipUtils.*;
/**
* Print all loc and cen headers of the ZIP file
*
! * @author Xueming Shen
*/
-
public class ZipInfo {
public static void main(String[] args) throws Throwable {
if (args.length < 1) {
print("Usage: java ZipInfo zfname");
--- 23,46 ----
* questions.
*/
package jdk.nio.zipfs;
+ import static jdk.nio.zipfs.ZipConstants.*;
+ import static jdk.nio.zipfs.ZipUtils.dosToJavaTime;
+ import static jdk.nio.zipfs.ZipUtils.unixToJavaTime;
+ import static jdk.nio.zipfs.ZipUtils.winToJavaTime;
+
import java.nio.file.Paths;
import java.util.Collections;
import java.util.Map;
/**
* Print all loc and cen headers of the ZIP file
*
! * @author Xueming Shen
*/
public class ZipInfo {
public static void main(String[] args) throws Throwable {
if (args.length < 1) {
print("Usage: java ZipInfo zfname");
< prev index next >