Changeset 105


Ignore:
Timestamp:
Feb 17, 2007, 6:38:05 PM (17 years ago)
Author:
OverTaker
Message:

index.ab追加とFileSystemInfoの細かい修整。

Location:
Include/Classes/System/IO
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/IO/File.ab

    r101 r105  
    179179    End Function
    180180
    181     Static Function ReadAllText( path As String, encoding As Encoding ) As String
    182         ' TODO: 実装
    183     End Function
     181/*  Static Function ReadAllText( path As String, encoding As Encoding ) As String
     182        ' TODO: 実装
     183    End Function */
    184184
    185185    Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String )
     
    191191    End Sub
    192192
    193     Static Sub SetAccessControl( path As String, fileSecurity As FileSecurity )
    194         ' TODO: 実装
    195     End Sub
     193/*  Static Sub SetAccessControl( path As String, fileSecurity As FileSecurity )
     194        ' TODO: 実装
     195    End Sub */
    196196
    197197    Static Sub SetAttributes( path As String, fileAttributes As FileAttributes )
     
    207207    End Sub
    208208
    209     Static Sub SetCreationTimeUtc( path As String, creationTimeUtc As DateTime )
    210         ' TODO: 実装
    211     End Sub
    212 
    213209    Static Sub SetLastAccessTime( path As String, lastAccessTime As DateTime )
    214210        ' TODO: 実装
     
    243239    End Sub
    244240
    245     Static Sub WriteAllText( path As String, contents As String, encoding As Enconding )
    246         ' TODO: 実装
    247     End Sub
     241/*  Static Sub WriteAllText( path As String, contents As String, encoding As Enconding )
     242        ' TODO: 実装
     243    End Sub */
    248244
    249245End Class
  • Include/Classes/System/IO/FileStream.ab

    r69 r105  
    1 ' TODO: 実装
     1Class FileStream
     2    ' TODO: 実装
     3End Class
  • Include/Classes/System/IO/FileSystemInfo.ab

    r84 r105  
    1212        Select Case m_FileAttributes
    1313            Case FILE_ATTRIBUTE_ARCHIVE
    14                 Return Archive
     14                Return FileAttributes.Archive
    1515            Case FILE_ATTRIBUTE_COMPRESSED
    16                 Return Compressed
     16                Return FileAttributes.Compressed
    1717            Case FILE_ATTRIBUTE_DIRECTORY
    18                 Return Directory
     18                Return FileAttributes.Directory
    1919            Case FILE_ATTRIBUTE_ENCRYPTED
    20                 Return Encrypted
     20                Return FileAttributes.Encrypted
    2121            Case FILE_ATTRIBUTE_HIDDEN
    22                 Return Hidden
     22                Return FileAttributes.Hidden
    2323            Case FILE_ATTRIBUTE_NORMAL
    24                 Return Normal
     24                Return FileAttributes.Normal
    2525            Case FILE_ATTRIBUTE_OFFLINE
    26                 Return Offline
     26                Return FileAttributes.Offline
    2727            Case FILE_ATTRIBUTE_READONLY
    28                 Return ReadOnly
     28                Return FileAttributes.ReadOnly
    2929            Case FILE_ATTRIBUTE_REPARSE_POINT
    30                 Return ReparsePoint
     30                Return FileAttributes.ReparsePoint
    3131            Case FILE_ATTRIBUTE_SPARSE_FILE
    32                 Return SparseFile
     32                Return FileAttributes.SparseFile
    3333            Case FILE_ATTRIBUTE_SYSTEM
    34                 Return System
     34                Return FileAttributes.System
    3535            Case FILE_ATTRIBUTE_TEMPORARY
    36                 Return Temporary
     36                Return FileAttributes.Temporary
    3737            Case Else
    3838                'Exception
     
    4545        Dim attributes As DWord
    4646        Select Case value
    47             Case Archive
     47            Case FileAttributes.Archive
    4848                attributes = FILE_ATTRIBUTE_ARCHIVE
    49             Case Compressed
     49            Case FileAttributes.Compressed
    5050                attributes = FILE_ATTRIBUTE_COMPRESSED
    51             Case Directory
     51            Case FileAttributes.Directory
    5252                attributes = FILE_ATTRIBUTE_DIRECTORY
    53             Case Hidden
     53            Case FileAttributes.Hidden
    5454                attributes = FILE_ATTRIBUTE_HIDDEN
    55             Case Normal
     55            Case FileAttributes.Normal
    5656                attributes = FILE_ATTRIBUTE_NORMAL
    57             Case Offline
     57            Case FileAttributes.Offline
    5858                attributes = FILE_ATTRIBUTE_OFFLINE
    59             Case ReadOnly
     59            Case FileAttributes.ReadOnly
    6060                attributes = FILE_ATTRIBUTE_READONLY
    61             Case System
     61            Case FileAttributes.System
    6262                attributes = FILE_ATTRIBUTE_SYSTEM
    63             Case Temporary
     63            Case FileAttributes.Temporary
    6464                attributes = FILE_ATTRIBUTE_TEMPORARY
    6565            Case Else
  • Include/Classes/System/IO/StreamReader.ab

    r69 r105  
    1 ' TODO: 実装
     1Class StreamReader
     2    ' TODO: 実装
     3End Class
  • Include/Classes/System/IO/StreamWriter.ab

    r69 r105  
    1 ' TODO: 実装
     1Class StreamWriter
     2    ' TODO: 実装
     3End Class
Note: See TracChangeset for help on using the changeset viewer.