Class FatFileSystemFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System.FileSystem.FAT
Assembly: Cosmos.System2.dll
Syntax
public class FatFileSystemFactory : FileSystemFactory
Properties
| Improve this Doc View SourceName
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceCreate(Partition, String, Int64)
Initializes a new instance of the Cosmos.System.FileSystem.FAT.FatFileSystem class.
Declaration
public override FileSystem Create(Partition aDevice, string aRootPath, long aSize)
Parameters
Type | Name | Description |
---|---|---|
Partition | aDevice | The partition. |
System.String | aRootPath | The root path. |
System.Int64 | aSize |
Returns
Type | Description |
---|---|
FileSystem |
Overrides
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.OverflowException | Thrown on fatal error. |
System.Exception |
|
System.ArgumentOutOfRangeException | Thrown on fatal error. |
IsType(Partition)
Checks if the file system can handle the partition.
Declaration
public override bool IsType(Partition aDevice)
Parameters
Type | Name | Description |
---|---|---|
Partition | aDevice | The partition. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the file system can handle the partition, false otherwise. |
Overrides
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if partition is null. |
System.OverflowException | Thrown when data lenght is greater then Int32.MaxValue. |
System.Exception | Thrown on memory error. |
System.ArgumentException | Thrown on memory error. |
System.ArgumentOutOfRangeException | Thrown on memory error. |