src/java.base/windows/classes/sun/net/www/protocol/file/Handler.java
changeset 51759 ac6e9a2ebc04
parent 47216 71c04702a3d5
child 52902 e3398b2e1ab0
equal deleted inserted replaced
51758:6c956c883137 51759:ac6e9a2ebc04
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   122         }
   122         }
   123         return uc;
   123         return uc;
   124     }
   124     }
   125 
   125 
   126     /**
   126     /**
   127      * Template method to be overriden by Java Plug-in. [stanleyh]
   127      * Template method to be overridden by Java Plug-in. [stanleyh]
   128      */
   128      */
   129     protected URLConnection createFileURLConnection(URL url, File file) {
   129     protected URLConnection createFileURLConnection(URL url, File file) {
   130         return new FileURLConnection(url, file);
   130         return new FileURLConnection(url, file);
   131     }
   131     }
   132 
   132