congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SftpFileObject.getType
Code IndexAdd Tabnine to your IDE (free)

How to use
getType
method
in
org.apache.commons.vfs2.provider.sftp.SftpFileObject

Best Java code snippets using org.apache.commons.vfs2.provider.sftp.SftpFileObject.getType (Showing top 9 results out of 315)

origin: org.apache.commons/commons-vfs2

/**
 * @throws FileSystemException if error occurs.
 * @since 2.0
 */
@Override
public void refresh() throws FileSystemException {
  if (!inRefresh) {
    try {
      inRefresh = true;
      super.refresh();
      try {
        attrs = null;
        getType();
      } catch (final IOException e) {
        throw new FileSystemException(e);
      }
    } finally {
      inRefresh = false;
    }
  }
}
origin: com.github.abashev/commons-vfs2

/**
 * @throws FileSystemException if error occurs.
 * @since 2.0
 */
@Override
public void refresh() throws FileSystemException {
  if (!inRefresh) {
    try {
      inRefresh = true;
      super.refresh();
      try {
        attrs = null;
        getType();
      } catch (final IOException e) {
        throw new FileSystemException(e);
      }
    } finally {
      inRefresh = false;
    }
  }
}
origin: apache/commons-vfs

/**
 * @throws FileSystemException if error occurs.
 * @since 2.0
 */
@Override
public void refresh() throws FileSystemException {
  if (!inRefresh) {
    try {
      inRefresh = true;
      super.refresh();
      try {
        attrs = null;
        getType();
      } catch (final IOException e) {
        throw new FileSystemException(e);
      }
    } finally {
      inRefresh = false;
    }
  }
}
origin: org.jetbrains.intellij.deps/commons-vfs2

/**
 * @throws FileSystemException if error occurs.
 * @since 2.0
 */
@Override
public void refresh() throws FileSystemException
{
  if (!inRefresh)
  {
    try
    {
      inRefresh = true;
      super.refresh();
      try
      {
        attrs = null;
        getType();
      }
      catch (final IOException e)
      {
        throw new FileSystemException(e);
      }
    }
    finally
    {
      inRefresh = false;
    }
  }
}
origin: org.jetbrains.intellij.deps/commons-vfs2

  return fileObject.getType();
} else {
  i++;
origin: com.github.abashev/commons-vfs2

if (!getType().hasContent()) {
  throw new FileSystemException("vfs.provider/read-not-file.error", getName());
origin: org.apache.commons/commons-vfs2

if (!getType().hasContent()) {
  throw new FileSystemException("vfs.provider/read-not-file.error", getName());
origin: apache/commons-vfs

if (!getType().hasContent()) {
  throw new FileSystemException("vfs.provider/read-not-file.error", getName());
origin: org.jetbrains.intellij.deps/commons-vfs2

if (!getType().hasContent())
org.apache.commons.vfs2.provider.sftpSftpFileObjectgetType

Popular methods of SftpFileObject

  • getContent
  • getPermissions
    Returns the POSIX type permissions of the file.
  • <init>
  • flushStat
  • getAbstractFileSystem
  • getFileSystem
  • getInputStream
    Creates an input stream to read the file content from. The input stream is starting at the given pos
  • getName
  • isFile
  • setStat
    Set attrs from listChildrenResolved
  • statSelf
    Fetches file attributes from server.
  • doIsReadable
  • statSelf,
  • doIsReadable,
  • doIsWriteable,
  • getLinkDestination

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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