BN089-BS开发框架MVC4版/source20131023/Zephyr.Net/Zephyr.Utils/Document/Excel/NPOI/HPSF/SpecialPropertySet.cs

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/* ====================================================================
   Licensed To the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for Additional information regarding copyright ownership.
   The ASF licenses this file To You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed To in writing, software
   distributed under the License is distributed on an "AS Is" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
==================================================================== */

/* ================================================================
 * About NPOI
 * Author: Tony Qu 
 * Author's email: tonyqus (at) gmail.com 
 * Author's Blog: tonyqus.wordpress.com.cn (wp.tonyqus.cn)
 * HomePage: http://www.codeplex.com/npoi
 * Contributors:
 * 
 * ==============================================================*/

namespace Zephyr.Utils.NPOI.HPSF
{
    using System;
    using System.IO;
    using System.Collections;
    using Zephyr.Utils.NPOI.HPSF.Wellknown;
    using Zephyr.Utils.NPOI.POIFS.FileSystem;
    using Zephyr.Utils.NPOI.Util;

    /// <summary>
    /// Abstract superclass for the convenience classes {@link
    /// SummaryInformation} and {@link DocumentSummaryInformation}.
    /// The motivation behind this class is quite nasty if you look
    /// behind the scenes, but it serves the application programmer well by
    /// providing him with the easy-to-use {@link SummaryInformation} and
    /// {@link DocumentSummaryInformation} classes. When parsing the data a
    /// property Set stream consists of (possibly coming from an {@link
    /// java.io.Stream}) we want To Read and process each byte only
    /// once. Since we don't know in advance which kind of property Set we
    /// have, we can expect only the most general {@link
    /// PropertySet}. Creating a special subclass should be as easy as
    /// calling the special subclass' constructor and pass the general
    /// {@link PropertySet} in. To make things easy internally, the special
    /// class just holds a reference To the general {@link PropertySet} and
    /// delegates all method calls To it.
    /// A cleaner implementation would have been like this: The {@link
    /// PropertySetFactory} parses the stream data into some internal
    /// object first.  Then it Finds out whether the stream is a {@link
    /// SummaryInformation}, a {@link DocumentSummaryInformation} or a
    /// general {@link PropertySet}.  However, the current implementation
    /// went the other way round historically: the convenience classes came
    /// only late To my mind.
    /// @author Rainer Klute 
后面还有 341 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。