Class FileWriter

  • All Implemented Interfaces:<File>

    public class FileWriter
    extends Object
    text/plain is needed otherwise resteasy will use its default text plain (@see DefaultTextPlain) writer to write text/plain objects and the file is not written correctly.
    Bogdan Stefanescu
    • Method Detail

      • getSize

        public long getSize​(File arg0,
                            Class<?> arg1,
                            Type arg2,
                            Annotation[] arg3,
        Specified by:
        getSize in interface<File>
      • isWriteable

        public boolean isWriteable​(Class<?> arg0,
                                   Type type,
                                   Annotation[] arg2,
        Specified by:
        isWriteable in interface<File>