< prev index next >

src/java.base/share/classes/java/io/FileSystem.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2013, 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) 1998, 2016, 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
*** 211,220 **** --- 211,227 ---- public abstract long getSpace(File f, int t); /* -- Basic infrastructure -- */ /** + * Retrieve the maximum length of a component of a file path. + * + * @return The maximum length of a file path component. + */ + public abstract long getNameMax(String path); + + /** * Compare two abstract pathnames lexicographically. */ public abstract int compare(File f1, File f2); /**
< prev index next >