I wander why getChannel is only implemented in FileOutputStream and not in FileWriter.
Is there a real reason? Is there a way to block FileWriter in another way?
thanks...
I suspect this is an oversight - note that it FileWriteris a subclass OutputStreamWriterthat does nothing but pass a to FileOutputStreamthe superclass constructor.
FileWriter
OutputStreamWriter
FileOutputStream
, FileWriter, . "" FileOutputStream OutputStreamWriter - .
Source: https://habr.com/ru/post/1709193/More articles:Why doesn't this ActiveRecord link work? - ruby-on-railsHow to get groups included in an ActiveDirectory group using C #? - c #CAML cannot reference custom properties in custom fields - sharepointCan I create read-only items in SOAP web services? - c #LinqDataSource and DateTime format - sqllightweight C ++ scripting library - c ++What is the difference between llblgen and nHibernate? - ormAre the first 32 bits of a 160-bit SHA1 hash an acceptable CRC32 hash replacement? - .netData type for unit of measurement in the database - units-of-measurementoracle insert with many WAN binding variables is very slow - performanceAll Articles