Class SVNWCProperties


  • public class SVNWCProperties
    extends java.lang.Object
    Version:
    1.3
    • Field Detail

      • SVN_HASH_TERMINATOR

        public static final java.lang.String SVN_HASH_TERMINATOR
        See Also:
        Constant Field Values
      • myFile

        private java.io.File myFile
      • myPath

        private java.lang.String myPath
    • Constructor Detail

      • SVNWCProperties

        public SVNWCProperties​(java.io.File properitesFile,
                               java.lang.String path)
    • Method Detail

      • getFile

        public java.io.File getFile()
      • getPath

        public java.lang.String getPath()
      • properties

        public java.util.Collection properties​(java.util.Collection target)
                                        throws SVNException
        Throws:
        SVNException
      • getPropertyValue

        public java.lang.String getPropertyValue​(java.lang.String name)
                                          throws SVNException
        Throws:
        SVNException
      • getPropertyValue

        public java.io.OutputStream getPropertyValue​(java.lang.String name,
                                                     java.io.OutputStream os)
                                              throws SVNException
        Throws:
        SVNException
      • setPropertyValue

        public void setPropertyValue​(java.lang.String name,
                                     java.io.InputStream is,
                                     int length)
                              throws SVNException
        Throws:
        SVNException
      • setProperties

        public static void setProperties​(SVNProperties namesToValues,
                                         java.io.File target,
                                         java.io.File tmpFile,
                                         java.lang.String terminator)
                                  throws SVNException
        Throws:
        SVNException
      • appendPropertyDeleted

        public static void appendPropertyDeleted​(java.lang.String name,
                                                 java.io.OutputStream target)
                                          throws SVNException
        Throws:
        SVNException
      • copyProperties

        private static boolean copyProperties​(java.io.InputStream is,
                                              java.io.OutputStream os,
                                              java.lang.String name,
                                              java.io.InputStream value,
                                              int length)
                                       throws SVNException
        Throws:
        SVNException
      • readProperty

        private static boolean readProperty​(char type,
                                            java.io.InputStream is,
                                            java.io.OutputStream os)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • writeProperty

        private static void writeProperty​(java.io.OutputStream os,
                                          char type,
                                          byte[] value)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • writeProperty

        private static void writeProperty​(java.io.OutputStream os,
                                          char type,
                                          java.io.InputStream value,
                                          int length)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • readLength

        private static int readLength​(java.io.InputStream is,
                                      char type)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • isEmpty

        public boolean isEmpty()