Java Doc for SftpFileSystem.java in » Library » Apache-commons-vfs-20070724-src » org » apache » commons » vfs » provider » sftp » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Library
»
Apache commons vfs 20070724 src
»
org.apache.commons.vfs.provider.sftp
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.commons.vfs.provider
.AbstractFileSystem
org.apache.commons.vfs.provider.sftp
.SftpFileSystem
SftpFileSystem
public
class SftpFileSystem extends
AbstractFileSystem
implements
FileSystem
(Code)
Represents the files on an SFTP server.
author:
Adam Murdoch
version:
$Revision: 480428 $ $Date: 2006-11-28 22:15:24 -0800 (Tue, 28 Nov 2006) $
Constructor Summary
protected
SftpFileSystem
(
GenericFileName
rootName, Session session,
FileSystemOptions
fileSystemOptions)
Method Summary
protected
void
addCapabilities
(
Collection
caps)
Adds the capabilities of this file system.
protected
FileObject
createFile
(
FileName
name)
Creates a file object.
protected
void
doCloseCommunicationLink
()
protected
ChannelSftp
getChannel
()
Returns an SFTP channel to the server.
public
double
getLastModTimeAccuracy
()
protected
void
putChannel
(ChannelSftp channel)
Returns a channel to the pool.
Constructor Detail
SftpFileSystem
protected
SftpFileSystem(
GenericFileName
rootName, Session session,
FileSystemOptions
fileSystemOptions)
(Code)
Method Detail
addCapabilities
protected
void addCapabilities(
Collection
caps)
(Code)
Adds the capabilities of this file system.
createFile
protected
FileObject
createFile(
FileName
name) throws
FileSystemException
(Code)
Creates a file object. This method is called only if the requested file is not cached.
doCloseCommunicationLink
protected
void doCloseCommunicationLink()
(Code)
getChannel
protected
ChannelSftp getChannel() throws
IOException
(Code)
Returns an SFTP channel to the server.
getLastModTimeAccuracy
public
double getLastModTimeAccuracy()
(Code)
last mod time is only a int and in seconds, thus can be off by 999 1000
putChannel
protected
void putChannel(ChannelSftp channel)
(Code)
Returns a channel to the pool.
Methods inherited from
org.apache.commons.vfs.provider.AbstractFileSystem
abstract
protected
void addCapabilities(
Collection
caps)
(Code)
(Java Doc)
public
void addJunction(
String
junctionPoint,
FileObject
targetFile) throws
FileSystemException
(Code)
(Java Doc)
public
void addListener(
FileObject
file,
FileListener
listener)
(Code)
(Java Doc)
public
void close()
(Code)
(Java Doc)
public
void closeCommunicationLink()
(Code)
(Java Doc)
abstract
protected
FileObject
createFile(
FileName
name) throws
Exception
(Code)
(Java Doc)
protected
FileObject
decorateFileObject(
FileObject
file) throws
FileSystemException
(Code)
(Java Doc)
protected
void doCloseCommunicationLink()
(Code)
(Java Doc)
protected
File
doReplicateFile(
FileObject
file,
FileSelector
selector) throws
Exception
(Code)
(Java Doc)
public
void fireFileChanged(
FileObject
file)
(Code)
(Java Doc)
public
void fireFileCreated(
FileObject
file)
(Code)
(Java Doc)
public
void fireFileDeleted(
FileObject
file)
(Code)
(Java Doc)
public
Object
getAttribute(
String
attrName) throws
FileSystemException
(Code)
(Java Doc)
protected
FileObject
getFileFromCache(
FileName
name)
(Code)
(Java Doc)
public
FileSystemManager
getFileSystemManager()
(Code)
(Java Doc)
public
FileSystemOptions
getFileSystemOptions()
(Code)
(Java Doc)
public
double getLastModTimeAccuracy()
(Code)
(Java Doc)
public
FileObject
getParentLayer() throws
FileSystemException
(Code)
(Java Doc)
public
FileObject
getRoot() throws
FileSystemException
(Code)
(Java Doc)
public
FileName
getRootName()
(Code)
(Java Doc)
public
boolean hasCapability(
Capability
capability)
(Code)
(Java Doc)
public
void init() throws
FileSystemException
(Code)
(Java Doc)
public
boolean isOpen()
(Code)
(Java Doc)
public
boolean isReleaseable()
(Code)
(Java Doc)
protected
void notifyAllStreamsClosed()
(Code)
(Java Doc)
protected
void putFileToCache(
FileObject
file)
(Code)
(Java Doc)
protected
void removeFileFromCache(
FileName
name)
(Code)
(Java Doc)
public
void removeJunction(
String
junctionPoint) throws
FileSystemException
(Code)
(Java Doc)
public
void removeListener(
FileObject
file,
FileListener
listener)
(Code)
(Java Doc)
public
File
replicateFile(
FileObject
file,
FileSelector
selector) throws
FileSystemException
(Code)
(Java Doc)
public
FileObject
resolveFile(
String
nameStr) throws
FileSystemException
(Code)
(Java Doc)
public
synchronized
FileObject
resolveFile(
FileName
name) throws
FileSystemException
(Code)
(Java Doc)
public
void setAttribute(
String
attrName,
Object
value) throws
FileSystemException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.