Tabnine Logo
RamFileSystemConfigBuilder.getLong
Code IndexAdd Tabnine to your IDE (free)

How to use
getLong
method
in
org.apache.commons.vfs2.provider.ram.RamFileSystemConfigBuilder

Best Java code snippets using org.apache.commons.vfs2.provider.ram.RamFileSystemConfigBuilder.getLong (Showing top 8 results out of 315)

origin: apache/commons-vfs

/**
 * 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);
}
origin: org.jetbrains.intellij.deps/commons-vfs2

/**
 * 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);
}
origin: org.apache.commons/commons-vfs2

/**
 * 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);
}
origin: com.github.abashev/commons-vfs2

/**
 * 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);
}
origin: com.github.abashev/commons-vfs2

/**
 * 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();
}
origin: org.apache.commons/commons-vfs2

/**
 * 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();
}
origin: apache/commons-vfs

/**
 * 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();
}
origin: org.jetbrains.intellij.deps/commons-vfs2

/**
 * 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();
}
org.apache.commons.vfs2.provider.ramRamFileSystemConfigBuildergetLong

Javadoc

Defaults to Integer#MAX_VALUE.

Popular methods of RamFileSystemConfigBuilder

  • getInstance
    Gets the singleton builder.
  • getLongMaxSize
    Defaults to Integer#MAX_VALUE.
  • setParam
  • setMaxSize
    Sets the maximum size of the file system.

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now