@@ -0,0 +1,904 @@
+/**%0A * %0A */%0Apackage cn.strong.fastdfs.client;%0A%0A/**%0A * %E5%B8%B8%E9%87%8F%E5%AE%9A%E4%B9%89%0A * %0A * @author liulongbiao%0A *%0A */%0Apublic interface Consts %7B%0A%0A%09int HEAD_LEN = 10; // %E5%A4%B4%E9%83%A8%E9%95%BF%E5%BA%A6%0A%09int FDFS_LONG_LEN = 8; // long %E6%89%80%E5%8D%A0%E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_PROTO_PKG_LEN_SIZE = FDFS_LONG_LEN; // %E5%8C%85%E9%95%BF%E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_FILE_EXT_LEN = 6; // %E6%96%87%E4%BB%B6%E6%89%A9%E5%B1%95%E5%90%8D%E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_GROUP_LEN = 16; // %E6%96%87%E4%BB%B6%E5%88%86%E7%BB%84%E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_HOST_LEN = 15; // %E4%B8%BB%E6%9C%BA%E5%9C%B0%E5%9D%80%E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_PORT_LEN = FDFS_LONG_LEN; // %E7%AB%AF%E5%8F%A3 %E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_STORE_PATH_INDEX_LEN = 1; // storePathIndex %E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_STORAGE_LEN = FDFS_GROUP_LEN + FDFS_HOST_LEN + FDFS_PORT_LEN; // %E5%AD%98%E5%82%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BF%A1%E6%81%AF%E5%AD%97%E8%8A%82%E6%95%B0%0A%09int FDFS_STORAGE_STORE_LEN = FDFS_STORAGE_LEN + FDFS_STORE_PATH_INDEX_LEN; // %E5%AD%98%E5%82%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%BF%A1%E6%81%AF%E5%8F%8A%E5%AD%98%E5%82%A8%E8%B7%AF%E5%BE%84%E7%B4%A2%E5%BC%95%E5%AD%97%E8%8A%82%E6%95%B0%0A%0A%09/**%0A%09 * Overwrite MetaData%0A%09 */%0A%09byte STORAGE_SET_METADATA_FLAG_OVERWRITE = 'O';%0A%09/**%0A%09 * Merge MetaData%0A%09 */%0A%09byte STORAGE_SET_METADATA_FLAG_MERGE = 'M';%0A%0A%09String FDFS_RECORD_SEPERATOR = %22%5Cu0001%22;%0A%09String FDFS_FIELD_SEPERATOR = %22%5Cu0002%22;%0A%09byte ERRNO_OK = 0;%0A%7D%0A

add consts