package Examples;

//////////////////////////////////////////////////////////////////////////
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kind, either expressed or implied.
//////////////////////////////////////////////////////////////////////////

import com.aspose.words.HeaderFooter;

/**
 * Examples for the .NET vs Java Differences in Aspose.Words in the Programmers Guide.
 */
public class ExDotNetVsJava {
    // The saveFormat parameter is a SaveFormat enum value
    void save(final String fileName, final int saveFormat) {
        // Do nothing
    }

    public class HeaderFooterCollection {
        // Get by index is an indexer
        public HeaderFooter get(final int index)                  //ExSkip
        {                   //ExSkip
            return null;    //ExSkip
        }                       //ExSkip

        // Get by header footer type is an overloaded indexer
        public HeaderFooter getByHeaderFooterType(final int headerFooterType)                  //ExSkip
        {                   //ExSkip
            return null;    //ExSkip
        }                       //ExSkip
    }
}

