phing-system-io
[ class tree: phing-system-io ] [ index: phing-system-io ] [ all elements ]

Class: WinNTFileSystem

Source Location: /system/io/WinNTFileSystem.php

Class Overview

FileSystem
   |
   --Win32FileSystem
      |
      --WinNTFileSystem

FileSystem for Windows NT/2000.


Author(s):

Version:

  • $Revision: 552 $

Inherited Constants

Inherited Variables

Inherited Methods

Class: Win32FileSystem

Win32FileSystem::__construct()
Win32FileSystem::compare()
compares file paths lexicographically
Win32FileSystem::fromURIPath()
Win32FileSystem::getDefaultParent()
Win32FileSystem::getPathSeparator()
Win32FileSystem::getSeparator()
Win32FileSystem::isAbsolute()
Win32FileSystem::isLetter()
Win32FileSystem::isSlash()
Win32FileSystem::lister()
returns the contents of a directory in an array
Win32FileSystem::listRoots()
Win32FileSystem::normalize()
Check that the given pathname is normal. If not, invoke the real normalizer on the part of the pathname that requires normalization.
Win32FileSystem::normalizePrefix()
A normal Win32 pathname contains no duplicate slashes, except possibly
Win32FileSystem::normalizer()
Normalize the given pathname, whose length is len, starting at the given
Win32FileSystem::prefixLength()
Win32FileSystem::resolve()
Win32FileSystem::resolveFile()
Win32FileSystem::setReadOnly()
Win32FileSystem::slashify()
Win32FileSystem::_access()
Win32FileSystem::_driveIndex()
private
Win32FileSystem::_getDrive()
Win32FileSystem::_getDriveDirectory()
private
Win32FileSystem::_getUserPath()
Win32FileSystem::_nativeListRoots()

Class: FileSystem

FileSystem::canDelete()
Whether file can be deleted.
FileSystem::canonicalize()
canonicalize filename by checking on disk
FileSystem::checkAccess()
Check whether the file or directory denoted by the given abstract
FileSystem::chmod()
Change the permissions on a file or directory.
FileSystem::chown()
Change the ownership on a file or directory.
FileSystem::compare()
Compare two abstract pathnames lexicographically.
FileSystem::compareMTimes()
Compare the modified time of two files.
FileSystem::copy()
Copy a file.
FileSystem::createDirectory()
Create a new directory denoted by the given abstract pathname, returning true if and only if the operation succeeds.
FileSystem::createNewFile()
Create a new empty file with the given pathname. Return true if the file was created and false if a file or directory with the given pathname already exists. Throw an IOException if an I/O error occurs.
FileSystem::delete()
Delete the file or directory denoted by the given abstract pathname, returning true if and only if the operation succeeds.
FileSystem::deleteOnExit()
Arrange for the file or directory denoted by the given abstract pathname to be deleted when Phing::shutdown is called, returning true if and only if the operation succeeds.
FileSystem::fromURIPath()
Post-process the given URI path string if necessary. This is used on win32, e.g., to transform "/c:/foo" into "c:/foo". The path string still has slash separators; code in the PhingFile class will translate them after this method returns.
FileSystem::getBooleanAttributes()
Return the simple boolean attributes for the file or directory denoted by the given abstract pathname, or zero if it does not exist or some other I/O error occurs.
FileSystem::getDefaultParent()
Return the parent pathname string to be used when the parent-directory argument in one of the two-argument PhingFile constructors is the empty pathname.
FileSystem::getFileSystem()
Static method to return the FileSystem singelton representing this platform's local filesystem driver.
FileSystem::getLastModifiedTime()
Return the time at which the file or directory denoted by the given abstract pathname was last modified, or zero if it does not exist or some other I/O error occurs.
FileSystem::getLength()
Return the length in bytes of the file denoted by the given abstract pathname, or zero if it does not exist, is a directory, or some other I/O error occurs.
FileSystem::getPathSeparator()
Return the local filesystem's path-separator character.
FileSystem::getSeparator()
Return the local filesystem's name-separator character.
FileSystem::isAbsolute()
Tell whether or not the given abstract pathname is absolute.
FileSystem::listDir()
List the elements of the directory denoted by the given abstract pathname. Return an array of strings naming the elements of the directory if successful; otherwise, return
  1. null
.
FileSystem::listRoots()
List the available filesystem roots, return array of PhingFile objects
FileSystem::lock()
Locks a file and throws an Exception if this is not possible.
FileSystem::normalize()
Convert the given pathname string to normal form. If the string is already in normal form then it is simply returned.
FileSystem::prefixLength()
Compute the length of this pathname string's prefix. The pathname string must be in normal form.
FileSystem::rename()
Rename the file or directory denoted by the first abstract pathname to the second abstract pathname, returning true if and only if the operation succeeds.
FileSystem::resolve()
Resolve the child pathname string against the parent.
FileSystem::resolveFile()
Resolve the given abstract pathname into absolute form. Invoked by the getAbsolutePath and getCanonicalPath methods in the PhingFile class.
FileSystem::rmdir()
Delete an empty directory OR a directory and all of its contents.
FileSystem::setLastModifiedTime()
Set the last-modified time of the file or directory denoted by the given abstract pathname returning true if and only if the operation succeeds.
FileSystem::setReadOnly()
Mark the file or directory denoted by the given abstract pathname as read-only, returning
  1. true
if and only if the operation succeeds.
FileSystem::symlink()
Symbolically link a file to another name.
FileSystem::touch()
Set the modification and access time on a file to the present time.
FileSystem::umask()
Set the umask for file and directory creation.
FileSystem::unlink()
Delete a file.
FileSystem::unlock()
Unlocks a file and throws an IO Error if this is not possible.

Class Details

[line 29]
FileSystem for Windows NT/2000.



Tags:

author:  Hans Lellelid <hans@xmpl.org>
author:  Charlie Killian <charlie@tizac.com>
version:  $Revision: 552 $


[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:52:22 +0200 by phpDocumentor 1.4.3