net.sf.jfilesync.plugins.net.items
Class TLocal_WindowsPlugin

java.lang.Object
  extended by net.sf.jfilesync.plugins.net.items.AbstractLocalPlugin
      extended by net.sf.jfilesync.plugins.net.items.TLocal_plugin
          extended by net.sf.jfilesync.plugins.net.items.TLocal_WindowsPlugin
All Implemented Interfaces:
GeneralPlugin, ConnectionPlugin

public class TLocal_WindowsPlugin
extends TLocal_plugin


Field Summary
private static java.util.logging.Logger LOGGER
           
private static TPathControlInterface pathControl
           
 
Fields inherited from class net.sf.jfilesync.plugins.net.items.TLocal_plugin
buf, bufsize
 
Fields inherited from class net.sf.jfilesync.plugins.net.items.AbstractLocalPlugin
log
 
Fields inherited from interface net.sf.jfilesync.plugins.GeneralPlugin
PROVIDES_FILETRANSFER, PROVIDES_PERMISSION_HANDLING, PROVIDES_RSYNC, PROVIDES_SHELL, PROVIDES_SYMLINK_HANDLING
 
Constructor Summary
TLocal_WindowsPlugin()
           
 
Method Summary
 void chdir(java.lang.String path)
           
protected  TFileProperties extractFileProperties(java.io.File file)
           
private  void fixRemoteFileHiddenProblem(java.lang.String remoteFileName)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 TPathControlInterface getPathControl()
           
 java.lang.String getVersionString()
           
 boolean isProvided(int feature)
          plug-in must provide information if a feature is provided or not
 int pluginLowVersion()
           
 int pluginMainVersion()
           
 void put(java.io.InputStream instream, java.lang.String remoteFileName)
           
 void put(java.lang.String localFileName, java.lang.String remoteFileName)
           
 void setHidden(java.lang.String path)
           
 
Methods inherited from class net.sf.jfilesync.plugins.net.items.TLocal_plugin
abort, connect, disconnect, exists, getAbsolutePath, getConnectionID, getConnectionOptionPanel, getDefaultPort, getLicense, getMajorVersion, getMinorVersion, getProtocolString, getTConnectionData, hasConnectionOptions, isConnected, isLink, isLocalConnection, ls, ls, pwd, requiresPassword, requiresPort, setAbsolutePath, setPermissions, shellRequest, symlink
 
Methods inherited from class net.sf.jfilesync.plugins.net.items.AbstractLocalPlugin
copyStream, deleteFile, get, get, isFile, mkdir, mkdirs, remove, rename, rmdir, setModificationTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pathControl

private static TPathControlInterface pathControl

LOGGER

private static final java.util.logging.Logger LOGGER
Constructor Detail

TLocal_WindowsPlugin

public TLocal_WindowsPlugin()
Method Detail

isProvided

public boolean isProvided(int feature)
Description copied from interface: GeneralPlugin
plug-in must provide information if a feature is provided or not

Specified by:
isProvided in interface GeneralPlugin
Overrides:
isProvided in class TLocal_plugin

getName

public java.lang.String getName()
Specified by:
getName in interface GeneralPlugin
Overrides:
getName in class TLocal_plugin
Returns:
returns name of plug-in

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface GeneralPlugin
Overrides:
getDescription in class TLocal_plugin
Returns:
returns a more detailed description of the plug-in

getVersionString

public java.lang.String getVersionString()
Overrides:
getVersionString in class TLocal_plugin

pluginMainVersion

public int pluginMainVersion()

pluginLowVersion

public int pluginLowVersion()

extractFileProperties

protected TFileProperties extractFileProperties(java.io.File file)
                                         throws java.io.IOException
Overrides:
extractFileProperties in class TLocal_plugin
Throws:
java.io.IOException

getPathControl

public TPathControlInterface getPathControl()
Specified by:
getPathControl in interface ConnectionPlugin
Overrides:
getPathControl in class TLocal_plugin

put

public void put(java.io.InputStream instream,
                java.lang.String remoteFileName)
         throws java.io.IOException
Specified by:
put in interface ConnectionPlugin
Overrides:
put in class AbstractLocalPlugin
Throws:
java.io.IOException

put

public void put(java.lang.String localFileName,
                java.lang.String remoteFileName)
         throws java.io.IOException
Overrides:
put in class AbstractLocalPlugin
Throws:
java.io.IOException

setHidden

public void setHidden(java.lang.String path)
               throws java.io.IOException
Specified by:
setHidden in interface ConnectionPlugin
Overrides:
setHidden in class TLocal_plugin
Throws:
java.io.IOException

fixRemoteFileHiddenProblem

private void fixRemoteFileHiddenProblem(java.lang.String remoteFileName)

chdir

public void chdir(java.lang.String path)
           throws java.io.IOException
Specified by:
chdir in interface ConnectionPlugin
Overrides:
chdir in class TLocal_plugin
Throws:
java.io.IOException