@@ -62,14 +62,15 @@ public sealed class RandomAccessSourceFactory
62
62
/// </summary>
63
63
private bool forceRead = false ;
64
64
65
- /// <summary>
66
- /// Whether
67
- /// <see cref="System.IO.FileStream"/>
68
- /// should be used instead of a
69
- /// <see cref="java.nio.channels.FileChannel"/>
70
- /// , where applicable
71
- /// </summary>
72
- private bool usePlainRandomAccess = false ;
65
+ /// <summary>
66
+ /// Whether
67
+ /// <see cref="System.IO.FileStream"/>
68
+ /// should be used instead of a
69
+ /// <see cref="java.nio.channels.FileChannel"/>
70
+ /// , where applicable
71
+ /// </summary>
72
+ [ System . ObsoleteAttribute ( @"Will be removed in iText 7.2. The field makes sense only in Java." ) ]
73
+ private bool usePlainRandomAccess = false ;
73
74
74
75
/// <summary>Whether the underlying file should have a RW lock on it or just an R lock
75
76
/// </summary>
@@ -92,18 +93,19 @@ public RandomAccessSourceFactory SetForceRead(bool forceRead
92
93
return this ;
93
94
}
94
95
95
- /// <summary>
96
- /// Determines whether
97
- /// <see cref="System.IO.FileStream"/>
98
- /// should be used as the primary data access mechanism
99
- /// </summary>
100
- /// <param name="usePlainRandomAccess">
101
- /// whether
102
- /// <see cref="System.IO.FileStream"/>
103
- /// should be used as the primary data access mechanism
104
- /// </param>
105
- /// <returns>this object (this allows chaining of method calls)</returns>
106
- public RandomAccessSourceFactory SetUsePlainRandomAccess ( bool
96
+ /// <summary>
97
+ /// Determines whether
98
+ /// <see cref="System.IO.FileStream"/>
99
+ /// should be used as the primary data access mechanism
100
+ /// </summary>
101
+ /// <param name="usePlainRandomAccess">
102
+ /// whether
103
+ /// <see cref="System.IO.FileStream"/>
104
+ /// should be used as the primary data access mechanism
105
+ /// </param>
106
+ /// <returns>this object (this allows chaining of method calls)</returns>
107
+ [ System . ObsoleteAttribute ( @"Will be removed in iText 7.2. The method makes sense only in Java." ) ]
108
+ public RandomAccessSourceFactory SetUsePlainRandomAccess ( bool
107
109
usePlainRandomAccess )
108
110
{
109
111
this . usePlainRandomAccess = usePlainRandomAccess ;
0 commit comments