Class NSFileWrapper

    • Constructor Detail

      • NSFileWrapper

        public NSFileWrapper()
      • NSFileWrapper

        protected NSFileWrapper​(NSObject.Handle h,
                                long handle)
      • NSFileWrapper

        public NSFileWrapper​(java.util.Map<java.lang.String,​NSFileWrapper> childrenByPreferredName)
      • NSFileWrapper

        public NSFileWrapper​(NSData contents)
      • NSFileWrapper

        public NSFileWrapper​(NSURL url)
        Available in iOS 4.0 and later.
      • NSFileWrapper

        public NSFileWrapper​(NSCoder inCoder)
    • Method Detail

      • isDirectory

        public boolean isDirectory()
      • isRegularFile

        public boolean isRegularFile()
      • isSymbolicLink

        public boolean isSymbolicLink()
      • getPreferredFilename

        public java.lang.String getPreferredFilename()
      • setPreferredFilename

        public void setPreferredFilename​(java.lang.String v)
      • getFilename

        public java.lang.String getFilename()
      • setFilename

        public void setFilename​(java.lang.String v)
      • getSerializedRepresentation

        public NSData getSerializedRepresentation()
      • getFileWrappers

        public java.util.Map<java.lang.String,​NSFileWrapper> getFileWrappers()
      • getRegularFileContents

        public NSData getRegularFileContents()
      • getSymbolicLinkDestinationURL

        public NSURL getSymbolicLinkDestinationURL()
        Available in iOS 4.0 and later.
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • init

        protected long init​(java.util.Map<java.lang.String,​NSFileWrapper> childrenByPreferredName)
      • init

        protected long init​(NSData contents)
      • init

        protected long init​(NSURL url)
        Available in iOS 4.0 and later.
      • initSerialized

        protected long initSerialized​(NSData serializeRepresentation)
      • init

        protected long init​(NSCoder inCoder)
      • matchesContentsOfURL

        public boolean matchesContentsOfURL​(NSURL url)
        Available in iOS 4.0 and later.
      • addFileWrapper

        public java.lang.String addFileWrapper​(NSFileWrapper child)
      • addRegularFile

        public java.lang.String addRegularFile​(NSData data,
                                               java.lang.String fileName)
      • removeFileWrapper

        public void removeFileWrapper​(NSFileWrapper child)
      • getKeyForFileWrapper

        public java.lang.String getKeyForFileWrapper​(NSFileWrapper child)