/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. * @see #setMaxSize(FileSystemOptions, long) * @since 2.1 */ public long getLongMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.MAX_VALUE); }
/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. * @see #setMaxSize(FileSystemOptions, long) * @since 2.1 */ public long getLongMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.MAX_VALUE); }
/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. * @see #setMaxSize(FileSystemOptions, long) * @since 2.1 */ public long getLongMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.MAX_VALUE); }
/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. * @see #setMaxSize(FileSystemOptions, long) * @since 2.1 */ public long getLongMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.MAX_VALUE); }
/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. The next major version will change the return type to a long. * @see #setMaxSize(FileSystemOptions, int) */ public int getMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.valueOf(Integer.MAX_VALUE)).intValue(); }
/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. The next major version will change the return type to a long. * @see #setMaxSize(FileSystemOptions, int) */ public int getMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.valueOf(Integer.MAX_VALUE)).intValue(); }
/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. The next major version will change the return type to a long. * @see #setMaxSize(FileSystemOptions, int) */ public int getMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.valueOf(Integer.MAX_VALUE)).intValue(); }
/** * Defaults to {@link Integer#MAX_VALUE}. * * @param opts The FileSystem options. * @return The maximum size of the file. The next major version will change the return type to a long. * @see #setMaxSize(FileSystemOptions, int) */ public int getMaxSize(final FileSystemOptions opts) { return getLong(opts, MAX_SIZE_KEY, Long.valueOf(Integer.MAX_VALUE)).intValue(); }