-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AttributeView and FileAttributeView interface (#184)
- Loading branch information
Showing
6 changed files
with
137 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
| ||
using System; | ||
|
||
namespace Java.NIO.File.Attribute | ||
{ | ||
/// <summary> | ||
/// An object that provides a read-only or updatable view of non-opaque | ||
/// values associated with an object in a filesystem. This interface is | ||
/// extended or implemented by specific attribute views that define the | ||
/// attributes supported by the view. A specific attribute view will | ||
/// typically define type-safe methods to read or update the attributes | ||
/// that it supports. | ||
/// </summary> | ||
public interface AttributeView | ||
{ | ||
string Name(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
| ||
using System; | ||
|
||
namespace Java.NIO.File.Attribute | ||
{ | ||
/// <summary> | ||
/// An attribute view that is a read-only or updatable view of non-opaque | ||
/// values associated with a file in a filesystem. This interface is | ||
/// extended or implemented by specific file attribute views that define | ||
/// methods to read and/or update the attributes of a file. | ||
/// </summary> | ||
public interface FileAttributeView : AttributeView | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters